diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-01 14:51:57 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-01 14:51:57 +0200 |
commit | 706c332d78120675f26164c93f59f8f16b3a885e (patch) | |
tree | 9ebffb1d1b8ef6582597cc6965f4e4634174f2e2 /xps/xpsvisual.c | |
parent | 324d663baa86f9355f7a336b60f706ce31d4f9ca (diff) | |
download | mupdf-706c332d78120675f26164c93f59f8f16b3a885e.tar.xz |
xps: Repeat enough tiles to cover the shape being filled.
Diffstat (limited to 'xps/xpsvisual.c')
-rw-r--r-- | xps/xpsvisual.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xps/xpsvisual.c b/xps/xpsvisual.c index 82d37691..ad633708 100644 --- a/xps/xpsvisual.c +++ b/xps/xpsvisual.c @@ -11,7 +11,8 @@ xps_paint_visual_brush(xps_context *ctx, fz_matrix ctm, } void -xps_parse_visual_brush(xps_context *ctx, fz_matrix ctm, char *base_uri, xps_resource *dict, xps_item *root) +xps_parse_visual_brush(xps_context *ctx, fz_matrix ctm, fz_rect area, + char *base_uri, xps_resource *dict, xps_item *root) { xps_item *node; @@ -32,6 +33,7 @@ xps_parse_visual_brush(xps_context *ctx, fz_matrix ctm, char *base_uri, xps_reso if (visual_tag) { - xps_parse_tiling_brush(ctx, ctm, visual_uri, dict, root, xps_paint_visual_brush, visual_tag); + xps_parse_tiling_brush(ctx, ctm, area, + visual_uri, dict, root, xps_paint_visual_brush, visual_tag); } } |