summaryrefslogtreecommitdiff
path: root/xps/xps_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xps_path.c')
-rw-r--r--xps/xps_path.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xps/xps_path.c b/xps/xps_path.c
index 54acc114..838bb123 100644
--- a/xps/xps_path.c
+++ b/xps/xps_path.c
@@ -781,7 +781,7 @@ xps_clip(xps_document *doc, fz_matrix ctm, xps_resource *dict, char *clip_att, f
path = xps_parse_path_geometry(doc, dict, clip_tag, 0, &fill_rule);
else
path = fz_new_path(doc->ctx);
- fz_clip_path(doc->dev, path, NULL, fill_rule == 0, ctm);
+ fz_clip_path(doc->dev, path, fz_infinite_rect, fill_rule == 0, ctm);
fz_free_path(doc->ctx, path);
}
@@ -1016,7 +1016,7 @@ xps_parse_path(xps_document *doc, fz_matrix ctm, char *base_uri, xps_resource *d
if (fill_tag)
{
- fz_clip_path(doc->dev, path, NULL, fill_rule == 0, ctm);
+ fz_clip_path(doc->dev, path, fz_infinite_rect, fill_rule == 0, ctm);
xps_parse_brush(doc, ctm, area, fill_uri, dict, fill_tag);
fz_pop_clip(doc->dev);
}
@@ -1034,7 +1034,7 @@ xps_parse_path(xps_document *doc, fz_matrix ctm, char *base_uri, xps_resource *d
if (stroke_tag)
{
- fz_clip_stroke_path(doc->dev, stroke_path, NULL, stroke, ctm);
+ fz_clip_stroke_path(doc->dev, stroke_path, fz_infinite_rect, stroke, ctm);
xps_parse_brush(doc, ctm, area, stroke_uri, dict, stroke_tag);
fz_pop_clip(doc->dev);
}