public:
int clipping;
int textRender;
+ char createsoftmask;
+ char transparencygroup;
GFXOutputState();
};
int maskWidth, int maskHeight,
GfxImageColorMap *maskColorMap);
- //----- transparency groups and soft masks (xpdf > ~ 3.01.16)
+ //----- transparency groups and soft masks (xpdf >= ~ 3.01.16)
+#if xpdfUpdateVersion >= 16
virtual void beginTransparencyGroup(GfxState *state, double *bbox,
GfxColorSpace *blendingColorSpace,
GBool isolated, GBool knockout,
virtual void paintTransparencyGroup(GfxState *state, double *bbox);
virtual void setSoftMask(GfxState *state, double *bbox, GBool alpha, Function *transferFunc, GfxColor *backdropColor);
virtual void clearSoftMask(GfxState *state);
-
+#endif
//----- type 3 chars
virtual GBool beginType3Char(GfxState *state, double x, double y, double dx, double dy, CharCode code, Unicode *u, int uLen);
int forceType0Fonts;
int config_use_fontconfig;
- int transparencyGroup;
- int createsoftmask;
-
parameter_t*parameters;
};