gfxresult_t* softmaskrecording; // for soft masks
gfxdevice_t* olddevice;
+
+ GfxState*state;
};
-typedef struct _parameter
+typedef struct _feature
{
- char*name;
- char*value;
- struct _parameter*next;
-} parameter_t;
+ char*string;
+ struct _feature*next;
+} feature_t;
void addGlobalFont(const char*filename);
void addGlobalLanguageDir(const char*dir);
//----- 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);
+ feature_t*featurewarnings;
+
char outer_clip_box; //whether the page clip box is still on
gfxfontlist_t*gfxfontlist;
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 {