diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-24 00:38:40 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-24 00:38:40 +0000 |
commit | 7742213fc276bd8a8d638fd9486d8573f74b59f0 (patch) | |
tree | 8706a24552a15b8eab4e6b25179ef157d4c66c4a /fitz/dev_bbox.c | |
parent | 0f8f9544b9bcac7b2000f088c1226ae7d6f7fa4b (diff) | |
download | mupdf-7742213fc276bd8a8d638fd9486d8573f74b59f0.tar.xz |
Slower but slightly more accurate CMYK to RGB conversion.
Diffstat (limited to 'fitz/dev_bbox.c')
-rw-r--r-- | fitz/dev_bbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fitz/dev_bbox.c b/fitz/dev_bbox.c index d1c7bf59..f6028f44 100644 --- a/fitz/dev_bbox.c +++ b/fitz/dev_bbox.c @@ -46,7 +46,7 @@ fz_bboxstroketext(void *user, fz_text *text, fz_strokestate *stroke, fz_matrix c } static void -fz_bboxfillshade(void *user, fz_shade *shade, fz_matrix ctm) +fz_bboxfillshade(void *user, fz_shade *shade, fz_matrix ctm, float alpha) { fz_bboxdevice *bdev = user; fz_bbox bbox = fz_roundrect(fz_boundshade(shade, ctm)); @@ -54,7 +54,7 @@ fz_bboxfillshade(void *user, fz_shade *shade, fz_matrix ctm) } static void -fz_bboxfillimage(void *user, fz_pixmap *image, fz_matrix ctm) +fz_bboxfillimage(void *user, fz_pixmap *image, fz_matrix ctm, float alpha) { fz_bboxdevice *bdev = user; fz_bbox bbox = fz_roundrect(fz_transformrect(ctm, fz_unitrect)); @@ -65,7 +65,7 @@ static void fz_bboxfillimagemask(void *user, fz_pixmap *image, fz_matrix ctm, fz_colorspace *colorspace, float *color, float alpha) { - fz_bboxfillimage(user, image, ctm); + fz_bboxfillimage(user, image, ctm, alpha); } static void |