summaryrefslogtreecommitdiff
path: root/xps/xpsvisual.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2007-05-03 14:50:21 +0000
committerTor Andersson <tor.andersson@artifex.com>2007-05-03 14:50:21 +0000
commit9caf8e74cd0f7e96ac9f9aa64755508f3a1c5476 (patch)
tree0932cc4b434eebb274ebed7fe7383b1c3be86cef /xps/xpsvisual.c
parent8d6667651a0faf2eb5038f0e5484419c82bb265c (diff)
downloadghostpdl-9caf8e74cd0f7e96ac9f9aa64755508f3a1c5476.tar.gz
Clipping and some line drawing attributes.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2833 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'xps/xpsvisual.c')
-rw-r--r--xps/xpsvisual.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xps/xpsvisual.c b/xps/xpsvisual.c
index e079afb44..b7db253d4 100644
--- a/xps/xpsvisual.c
+++ b/xps/xpsvisual.c
@@ -117,6 +117,7 @@ xps_parse_visual_brush(xps_context_t *ctx, xps_resource_t *dict, xps_item_t *roo
gs_lineto(ctx->pgs, viewbox.q.x, viewbox.p.y);
gs_closepath(ctx->pgs);
gs_clip(ctx->pgs);
+ gs_newpath(ctx->pgs);
if (!strcmp(xps_tag(visual_tag), "Path"))
xps_parse_path(ctx, dict, visual_tag);