#include "../gfxsource.h"
#include "../gfxtools.h"
-#include "config.h"
#include "InfoOutputDev.h"
#include "PDFDoc.h"
#include "GlobalParams.h"
virtual void setParameter(const char*key, const char*value);
// Start a page.
- virtual void startPage(int pageNum, GfxState *state, double x1, double y1, double x2, double y2) ;
+ virtual void startPage(int pageNum, GfxState *state);
virtual void endPage();
//----- get info about output device
virtual GBool useTilingPatternFill();
virtual GBool useShadedFills();
-#if (xpdfMajorVersion < 3) || (xpdfMinorVersion < 2) || (xpdfUpdateVersion < 7)
- virtual void tilingPatternFill(GfxState *state, Object *str,
+virtual POPPLER_TILING_PATERN_RETURN tilingPatternFill(GfxState *state,
+ POPPLER_TILING_PATERN_GFX
+ Object *str,
int paintType, Dict *resDict,
double *mat, double *bbox,
int x0, int y0, int x1, int y1,
double xStep, double yStep);
-#else
- virtual void tilingPatternFill(GfxState *state, Gfx *gfx, Object *str,
- int paintType, Dict *resDict,
- double *mat, double *bbox,
- int x0, int y0, int x1, int y1,
- double xStep, double yStep);
-#endif
virtual GBool functionShadedFill(GfxState *state,
GfxFunctionShading *shading);
virtual GBool axialShadedFill(GfxState *state, GfxAxialShading *shading);
Stream *maskStr, int maskWidth, int maskHeight, GBool maskInvert, GfxImageColorMap*maskColorMap);
void strokeGfxline(GfxState *state, gfxline_t*line, int flags);
- void clipToGfxLine(GfxState *state, gfxline_t*line);
- void fillGfxLine(GfxState *state, gfxline_t*line);
+ void clipToGfxLine(GfxState *state, gfxline_t*line, char evenodd);
+ void fillGfxLine(GfxState *state, gfxline_t*line, char evenodd);
gfxfont_t* createGfxFont(GfxFont*xpdffont, FontInfo*src);
FontInfo*current_fontinfo;
gfxmatrix_t current_font_matrix;
+ gfxfont_t* last_char_gfxfont;
+ int last_char;
+ double last_char_x;
+ double last_char_y;
+ char last_char_was_space;
+
/* config */
int config_use_fontconfig;
int config_break_on_warning;
int config_transparent;
int config_extrafontdata;
int config_convertgradients;
- int config_optimize_polygons;
+ int config_disable_polygon_conversion;
int config_multiply;
int config_bigchar;
+ int config_drawonlyshapes;
+ int config_detectspaces;
+ int config_textonly;
+ char* config_linkdatafile;
double config_fontquality;
};