summaryrefslogtreecommitdiff
path: root/fitz/dev_bbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/dev_bbox.c')
-rw-r--r--fitz/dev_bbox.c6
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