summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-01 20:55:54 +0200
committerTor Andersson <tor@ghostscript.com>2010-07-01 20:55:54 +0200
commit6343232702ce8c58abb796f485bdf288df7f7419 (patch)
tree0580fa3c7e7070fae2bcc2e77b2917a42bd15f4e /fitz
parent37efe220c22bc39ccd12c7bd67878307132aa705 (diff)
downloadmupdf-6343232702ce8c58abb796f485bdf288df7f7419.tar.xz
Remove stray debugging printf and comments.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/dev_draw.c5
1 files changed, 2 insertions, 3 deletions
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;