void setMove(int x,int y);
void setClip(int x1,int y1,int x2,int y2);
- void setParameter(char*key, char*value);
+ void setParameter(const char*key, const char*value);
void setInfo(InfoOutputDev*info) {this->info = info;}
void finish();
+ virtual GBool useDrawForm();
+ virtual void drawForm(Ref id);
+ virtual GBool needNonText();
+ virtual void endPage();
+
+ //virtual void dump();
+ //virtual void beginStringOp(GfxState *state);
+ //virtual void drawString(GfxState *state, GString *s);
+ //virtual void endStringOp(GfxState *state);
+ //virtual GBool getVectorAntialias() { return gFalse; }
+ //virtual void setVectorAntialias(GBool vaa) {}
+ //virtual void psXObject(Stream *psStream, Stream *level1Stream) {}
+
private:
void drawGeneralImage(GfxState *state, Object *ref, Stream *str,
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 quality);
+ 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);
/* config */
int config_use_fontconfig;
int config_break_on_warning;
+ int config_remapunicode;
parameter_t*parameters;
};