summaryrefslogtreecommitdiff
path: root/xps/ghostxps.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2010-06-30 12:34:55 +0000
committerTor Andersson <tor.andersson@artifex.com>2010-06-30 12:34:55 +0000
commit0a79c2e01455dfd7b0642fdf4d1a6fe499a41c7e (patch)
tree2a0cccb6c997eb819596021b4972b1140a5e962d /xps/ghostxps.h
parent956f9bfac6f6dc7f13fbfa707d392bc87b2bd33c (diff)
Use gx_effective_clip_path to get the current visible area instead of manually maintaining the bounds while parsing.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11466 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/ghostxps.h')
-rw-r--r--xps/ghostxps.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/xps/ghostxps.h b/xps/ghostxps.h
index 89e12ac51..c5a4fae37 100644
--- a/xps/ghostxps.h
+++ b/xps/ghostxps.h
@@ -63,6 +63,7 @@
#include "gzstate.h"
#include "gzpath.h"
+#include "gzcpath.h"
#include "gsicc_manage.h"
#include "gscms.h"
@@ -337,9 +338,7 @@ void xps_end_opacity(xps_context_t *ctx, char *base_uri, xps_resource_t *dict, c
int xps_parse_brush(xps_context_t *ctx, char *base_uri, xps_resource_t *dict, xps_item_t *node);
int xps_parse_element(xps_context_t *ctx, char *base_uri, xps_resource_t *dict, xps_item_t *node);
-void xps_update_bounds(xps_context_t *ctx, gs_rect *save);
-void xps_restore_bounds(xps_context_t *ctx, gs_rect *save);
-void xps_clip(xps_context_t *ctx, gs_rect *saved_bounds);
+void xps_clip(xps_context_t *ctx);
void xps_fill(xps_context_t *ctx);
void xps_bounds_in_user_space(xps_context_t *ctx, gs_rect *user);
@@ -406,13 +405,6 @@ struct xps_context_s
* 1=nonzero, 0=evenodd
*/
int fill_rule;
-
- /* We often need the bounding box for the current
- * area of the page affected by drawing operations.
- * We keep these bounds updated every time we
- * clip. The coordinates are in device space.
- */
- gs_rect bounds;
};
int xps_process_file(xps_context_t *ctx, char *filename);