summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/shade.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-08-02 12:11:03 +0100
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:35 +0100
commit5ca92b5a7166cb0304f9d30d0989b5379c7fa532 (patch)
tree13e8cd576815154304b34ed51f30f15bc4c02ab6 /include/mupdf/fitz/shade.h
parent874cd7a3b8b803702f1d6ccb8c674e8662002e9b (diff)
downloadmupdf-5ca92b5a7166cb0304f9d30d0989b5379c7fa532.tar.xz
Fix overprint with shadings.
Diffstat (limited to 'include/mupdf/fitz/shade.h')
-rw-r--r--include/mupdf/fitz/shade.h4
1 files changed, 3 insertions, 1 deletions
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