From 6343232702ce8c58abb796f485bdf288df7f7419 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 1 Jul 2010 20:55:54 +0200 Subject: Remove stray debugging printf and comments. --- fitz/dev_draw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fitz') diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c index 29f092f3..2f1ec421 100644 --- a/fitz/dev_draw.c +++ b/fitz/dev_draw.c @@ -459,8 +459,8 @@ fz_drawfillshade(void *user, fz_shade *shade, fz_matrix ctm) // TODO: proper clip by shade->bbox if (!fz_isemptyrect(shade->bbox)) { -// bounds = fz_transformrect(fz_concat(shade->matrix, ctm), shade->bbox); -// bbox = fz_intersectbbox(fz_roundrect(bounds), bbox); + bounds = fz_transformrect(fz_concat(shade->matrix, ctm), shade->bbox); + bbox = fz_intersectbbox(fz_roundrect(bounds), bbox); } if (fz_isemptyrect(bbox)) @@ -476,7 +476,6 @@ fz_drawfillshade(void *user, fz_shade *shade, fz_matrix ctm) { unsigned char *s; int x, y, n, i; -printf("usebackground!\n"); fz_convertcolor(shade->cs, shade->background, dev->model, colorfv); for (i = 0; i < dev->model->n; i++) colorbv[i] = colorfv[i] * 255; -- cgit v1.2.3