summaryrefslogtreecommitdiff
path: root/xps/xpscommon.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-01 14:51:57 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-01 14:51:57 +0200
commit706c332d78120675f26164c93f59f8f16b3a885e (patch)
tree9ebffb1d1b8ef6582597cc6965f4e4634174f2e2 /xps/xpscommon.c
parent324d663baa86f9355f7a336b60f706ce31d4f9ca (diff)
downloadmupdf-706c332d78120675f26164c93f59f8f16b3a885e.tar.xz
xps: Repeat enough tiles to cover the shape being filled.
Diffstat (limited to 'xps/xpscommon.c')
-rw-r--r--xps/xpscommon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xps/xpscommon.c b/xps/xpscommon.c
index d338ffaa..3213f3e9 100644
--- a/xps/xpscommon.c
+++ b/xps/xpscommon.c
@@ -2,13 +2,13 @@
#include "muxps.h"
void
-xps_parse_brush(xps_context *ctx, fz_matrix ctm, char *base_uri, xps_resource *dict, xps_item *node)
+xps_parse_brush(xps_context *ctx, fz_matrix ctm, fz_rect area, char *base_uri, xps_resource *dict, xps_item *node)
{
/* SolidColorBrushes are handled in a special case and will never show up here */
if (!strcmp(xps_tag(node), "ImageBrush"))
- xps_parse_image_brush(ctx, ctm, base_uri, dict, node);
+ xps_parse_image_brush(ctx, ctm, area, base_uri, dict, node);
else if (!strcmp(xps_tag(node), "VisualBrush"))
- xps_parse_visual_brush(ctx, ctm, base_uri, dict, node);
+ xps_parse_visual_brush(ctx, ctm, area, base_uri, dict, node);
else if (!strcmp(xps_tag(node), "LinearGradientBrush"))
xps_parse_linear_gradient_brush(ctx, ctm, base_uri, dict, node);
else if (!strcmp(xps_tag(node), "RadialGradientBrush"))