diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-07-02 13:30:37 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-09-30 17:21:43 +0100 |
commit | 6a6284ddfa453f909ba6576b85166b7cf26941ee (patch) | |
tree | b331a80469ef7dee1cc4414bfb2d42221a991605 /source/fitz/draw-imp.h | |
parent | a8aec7875aaf6c8d8d4ed37ce74705988b73e9c1 (diff) | |
download | mupdf-6a6284ddfa453f909ba6576b85166b7cf26941ee.tar.xz |
Disable image interpolation with a hint.
Set the hint in mudraw when AA bits is set to 0.
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 82823519..9b9e50c0 100644 --- a/source/fitz/draw-imp.h +++ b/source/fitz/draw-imp.h @@ -34,8 +34,8 @@ void fz_paint_solid_color(unsigned char * restrict dp, int n, int w, unsigned ch void fz_paint_span(unsigned char * restrict dp, unsigned char * restrict sp, int n, int w, int alpha); void fz_paint_span_with_color(unsigned char * restrict dp, unsigned char * restrict mp, int n, int w, unsigned char *color); -void fz_paint_image(fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *img, const fz_matrix *ctm, int alpha); -void fz_paint_image_with_color(fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *img, const fz_matrix *ctm, unsigned char *colorbv); +void fz_paint_image(fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *img, const fz_matrix *ctm, int alpha, int lerp_allowed); +void fz_paint_image_with_color(fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz_pixmap *img, const fz_matrix *ctm, unsigned char *colorbv, int lerp_allowed); void fz_paint_pixmap(fz_pixmap *dst, fz_pixmap *src, int alpha); void fz_paint_pixmap_with_mask(fz_pixmap *dst, fz_pixmap *src, fz_pixmap *msk); |