Commit 86fc9a6f authored by Jeff Muizelaar's avatar Jeff Muizelaar

2007-07-30 Jeff Muizelaar <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h: Prescale image masks before giving them
	to cairo to improve the quality of the scaled image. Improves #5589.
parent f754246e
2007-07-30 Jeff Muizelaar <jeff@infidigm.net>
* poppler/CairoOutputDev.cc:
* poppler/CairoOutputDev.h: Prescale image masks before giving them
to cairo to improve the quality of the scaled image. Improves #5589.
2007-07-30 Jeff Muizelaar <jeff@infidigm.net>
* configure.ac: Update require cairo version to 1.4
......
This diff is collapsed.
......@@ -140,6 +140,13 @@ public:
virtual void drawImageMask(GfxState *state, Object *ref, Stream *str,
int width, int height, GBool invert,
GBool inlineImg);
void drawImageMaskPrescaled(GfxState *state, Object *ref, Stream *str,
int width, int height, GBool invert,
GBool inlineImg);
void drawImageMaskRegular(GfxState *state, Object *ref, Stream *str,
int width, int height, GBool invert,
GBool inlineImg);
virtual void drawImage(GfxState *state, Object *ref, Stream *str,
int width, int height, GfxImageColorMap *colorMap,
int *maskColors, GBool inlineImg);
......@@ -204,13 +211,14 @@ protected:
int glyphCount;
cairo_path_t *textClipPath;
GBool prescaleImages;
cairo_pattern_t *group;
cairo_pattern_t *mask;
struct ColorSpaceStack {
GfxColorSpace *cs;
struct ColorSpaceStack *next;
} * groupColorSpaceStack;
};
//------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment