gfxresult_t* softmaskrecording; // for soft masks
gfxdevice_t* olddevice;
-};
-typedef struct _parameter
-{
- char*name;
- char*value;
- struct _parameter*next;
-} parameter_t;
+ GfxState*state;
+};
typedef struct _feature
{
//----- update graphics state
+ virtual void updateLineDash(GfxState *state);
virtual void updateFont(GfxState *state);
virtual void updateFontMatrix(GfxState *state);
virtual void updateFillColor(GfxState *state);
int width, int height, GfxImageColorMap*colorMap, GBool invert,
GBool inlineImg, int mask, int *maskColors,
Stream *maskStr, int maskWidth, int maskHeight, GBool maskInvert, GfxImageColorMap*maskColorMap);
- int setGfxFont(char*id, char*name, char*filename, double maxSize, CharCodeToUnicode*ctu);
+
void strokeGfxline(GfxState *state, gfxline_t*line, int flags);
void clipToGfxLine(GfxState *state, gfxline_t*line);
void fillGfxLine(GfxState *state, gfxline_t*line);
+ gfxfont_t* createGfxFont(GfxFont*xpdffont, FontInfo*src);
+
void showfeature(const char*feature,char fully, char warn);
void warnfeature(const char*feature,char fully);
void infofeature(const char*feature);
int config_extrafontdata;
int config_convertgradients;
int config_optimize_polygons;
+ int config_multiply;
+ int config_bigchar;
double config_fontquality;
-
- parameter_t*parameters;
+
+ double *dashPattern;
+ int dashLength;
+ double dashStart;
};
class GFXGlobalParams: public GlobalParams {