diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2008-11-26 13:28:58 +0000 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2008-11-26 13:28:58 +0000 |
commit | a9191b366debf2688558e1c44dc8a97132dbd035 (patch) | |
tree | c575abb2cc40e54f0d73fb3995e2d6a3a69d7bde /xps/ghostxps.h | |
parent | 1f1e6fa8cff456c3d22c1894e8cbc63dfa77fe66 (diff) |
Pre-parse XPS pages looking for transparency to avoid creating pdf 14 compositor device when transparency is not used. Add header file changes.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9244 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/ghostxps.h')
-rw-r--r-- | xps/ghostxps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xps/ghostxps.h b/xps/ghostxps.h index 0a92e59f9..5b5450469 100644 --- a/xps/ghostxps.h +++ b/xps/ghostxps.h @@ -382,6 +382,10 @@ int xps_parse_color(xps_context_t *ctx, char *hexstring, gs_color_space **csp, f int xps_set_color(xps_context_t *ctx, gs_color_space *colorspace, float *samples); int xps_parse_icc_profile(xps_context_t *ctx, gs_color_space **csp, byte *data, int length, int ncomp); +int xps_element_has_transparency(xps_context_t *ctx, xps_item_t *node); +int xps_resource_dictionary_has_transparency(xps_context_t *ctx, xps_item_t *node); + + /* * Static XML resources. */ |