summaryrefslogtreecommitdiff
path: root/xps/ghostxps.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2008-11-26 13:28:58 +0000
committerTor Andersson <tor.andersson@artifex.com>2008-11-26 13:28:58 +0000
commita9191b366debf2688558e1c44dc8a97132dbd035 (patch)
treec575abb2cc40e54f0d73fb3995e2d6a3a69d7bde /xps/ghostxps.h
parent1f1e6fa8cff456c3d22c1894e8cbc63dfa77fe66 (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.h4
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.
*/