From 5ca92b5a7166cb0304f9d30d0989b5379c7fa532 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 2 Aug 2017 12:11:03 +0100 Subject: Fix overprint with shadings. --- include/mupdf/fitz/shade.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/mupdf/fitz/shade.h') diff --git a/include/mupdf/fitz/shade.h b/include/mupdf/fitz/shade.h index f95a4afc..1a9a174d 100644 --- a/include/mupdf/fitz/shade.h +++ b/include/mupdf/fitz/shade.h @@ -132,8 +132,10 @@ fz_rect *fz_bound_shade(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, bbox: Pointer to a bounding box to limit the rendering of the shade. + + op: NULL, or pointer to overprint bitmap. */ -void fz_paint_shade(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, fz_pixmap *dest, fz_colorspace *prf, const fz_color_params *color_params, const fz_irect *bbox); +void fz_paint_shade(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, fz_pixmap *dest, fz_colorspace *prf, const fz_color_params *color_params, const fz_irect *bbox, const fz_overprint *op); /* * Handy routine for processing mesh based shades -- cgit v1.2.3