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/xpsimage.c | |
parent | 324d663baa86f9355f7a336b60f706ce31d4f9ca (diff) | |
download | mupdf-706c332d78120675f26164c93f59f8f16b3a885e.tar.xz |
xps: Repeat enough tiles to cover the shape being filled.
Diffstat (limited to 'xps/xpsimage.c')
-rw-r--r-- | xps/xpsimage.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xps/xpsimage.c b/xps/xpsimage.c index 8fc2f7a1..102051cb 100644 --- a/xps/xpsimage.c +++ b/xps/xpsimage.c @@ -105,7 +105,8 @@ xps_find_image_brush_source_part(xps_context *ctx, char *base_uri, xps_item *roo } void -xps_parse_image_brush(xps_context *ctx, fz_matrix ctm, char *base_uri, xps_resource *dict, xps_item *root) +xps_parse_image_brush(xps_context *ctx, fz_matrix ctm, fz_rect area, + char *base_uri, xps_resource *dict, xps_item *root) { xps_part *part; xps_image *image; @@ -123,7 +124,7 @@ xps_parse_image_brush(xps_context *ctx, fz_matrix ctm, char *base_uri, xps_resou return; } - xps_parse_tiling_brush(ctx, ctm, base_uri, dict, root, xps_paint_image_brush, image); + xps_parse_tiling_brush(ctx, ctm, area, base_uri, dict, root, xps_paint_image_brush, image); xps_free_image(ctx, image); xps_free_part(ctx, part); |