summaryrefslogtreecommitdiff
path: root/xps/xpstile.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xpstile.c')
-rw-r--r--xps/xpstile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xps/xpstile.c b/xps/xpstile.c
index dedb0a3d..1b96a7d3 100644
--- a/xps/xpstile.c
+++ b/xps/xpstile.c
@@ -158,7 +158,7 @@ xps_parse_tiling_brush(xps_context *ctx, fz_matrix ctm, fz_rect area,
if (tile_mode == TILE_FLIP_Y || tile_mode == TILE_FLIP_X_Y)
ystep *= 2;
- xps_begin_opacity(ctx, ctm, base_uri, dict, opacity_att, NULL);
+ xps_begin_opacity(ctx, ctm, area, base_uri, dict, opacity_att, NULL);
ctm = fz_concat(transform, ctm);
ctm = fz_concat(fz_translate(viewport.x0, viewport.y0), ctm);
@@ -175,8 +175,6 @@ xps_parse_tiling_brush(xps_context *ctx, fz_matrix ctm, fz_rect area,
int y1 = ceilf(bbox.y1 / ystep);
int x, y;
- printf("repeating tile %d x %d times\n", x1-x0, y1-y0);
-
for (y = y0; y < y1; y++)
{
for (x = x0; x < x1; x++)