diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-10-23 13:54:44 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-10-24 17:12:13 +0200 |
commit | f0367fc24d95a2172ed0ebb38adc0632de9fb7ce (patch) | |
tree | 0e35507f1dd4a1b1205f85e4ed436410e46444b3 /source/fitz/draw-imp.h | |
parent | 75e7fd0e6ea72ecfe369030b5d1879b0c594da52 (diff) | |
download | mupdf-f0367fc24d95a2172ed0ebb38adc0632de9fb7ce.tar.xz |
Pass context to fz_paint_image to allow for printing warnings.
Diffstat (limited to 'source/fitz/draw-imp.h')
-rw-r--r-- | source/fitz/draw-imp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/draw-imp.h b/source/fitz/draw-imp.h index e9d93512..9e09ffbc 100644 --- a/source/fitz/draw-imp.h +++ b/source/fitz/draw-imp.h @@ -454,8 +454,8 @@ fz_solid_color_painter_t *fz_get_solid_color_painter(int n, const unsigned char fz_span_painter_t *fz_get_span_painter(int da, int sa, int n, int alpha, const fz_overprint *eop); fz_span_color_painter_t *fz_get_span_color_painter(int n, int da, const unsigned char *color, const fz_overprint *eop); -void fz_paint_image(fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *group_alpha, const fz_pixmap *img, fz_matrix ctm, int alpha, int lerp_allowed, int gridfit_as_tiled, const fz_overprint *eop); -void fz_paint_image_with_color(fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *group_alpha, const fz_pixmap *img, fz_matrix ctm, const unsigned char *colorbv, int lerp_allowed, int gridfit_as_tiled, const fz_overprint *eop); +void fz_paint_image(fz_context *ctx, fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *group_alpha, fz_pixmap *img, fz_matrix ctm, int alpha, int lerp_allowed, int gridfit_as_tiled, const fz_overprint *eop); +void fz_paint_image_with_color(fz_context *ctx, fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *group_alpha, fz_pixmap *img, fz_matrix ctm, const unsigned char *colorbv, int lerp_allowed, int gridfit_as_tiled, const fz_overprint *eop); void fz_paint_pixmap(fz_pixmap *dst, const fz_pixmap *src, int alpha); void fz_paint_pixmap_alpha(fz_pixmap *dst, const fz_pixmap *src, int alpha); |