diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2017-10-22 09:37:01 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2017-12-12 20:16:01 +1030 |
commit | 3f13dd5f04984be1912b4537ffbfacd892750915 (patch) | |
tree | a5b87edbad40181e1689f1474ac4541981517f16 /poppler/CairoOutputDev.h | |
parent | 3263fa4439e1a09dae6a0332a90b983d25bc218d (diff) |
cairo: support embedding CCITT image data
Bug 103399
Diffstat (limited to 'poppler/CairoOutputDev.h')
-rw-r--r-- | poppler/CairoOutputDev.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/poppler/CairoOutputDev.h b/poppler/CairoOutputDev.h index 1fee8121..83ed1abf 100644 --- a/poppler/CairoOutputDev.h +++ b/poppler/CairoOutputDev.h @@ -283,12 +283,15 @@ protected: GBool interpolate); GBool getStreamData (Stream *str, char **buffer, int *length); void setMimeData(GfxState *state, Stream *str, Object *ref, - GfxImageColorMap *colorMap, cairo_surface_t *image); + GfxImageColorMap *colorMap, cairo_surface_t *image, int height); void fillToStrokePathClip(GfxState *state); void alignStrokeCoords(GfxSubpath *subpath, int i, double *x, double *y); #if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 14, 0) GBool setMimeDataForJBIG2Globals (Stream *str, cairo_surface_t *image); #endif +#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 15, 10) + GBool setMimeDataForCCITTParams(Stream *str, cairo_surface_t *image, int height); +#endif static void setContextAntialias(cairo_t *cr, cairo_antialias_t antialias); GfxRGB fill_color, stroke_color; |