1 #ifndef __infooutputdev_h__
2 #define __infooutputdev_h__
6 #include "SplashFont.h"
7 #include "SplashOutputDev.h"
16 class InfoOutputDev: public OutputDev
19 FontInfo* currentfont;
20 SplashOutputDev*splash;
27 InfoOutputDev(XRef*xref);
28 virtual ~InfoOutputDev();
29 virtual GBool upsideDown();
30 virtual GBool useDrawChar();
31 virtual GBool interpretType3Chars();
32 virtual void startPage(int pageNum, GfxState *state, double crop_x1, double crop_y1, double crop_x2, double crop_y2);
33 virtual void drawLink(Link *link, Catalog *catalog);
34 virtual double getMaximumFontSize(char*id);
35 virtual void updateFont(GfxState *state);
36 virtual void drawChar(GfxState *state, double x, double y,
38 double originX, double originY,
39 CharCode code, int nBytes, Unicode *u, int uLen);
40 virtual void drawImageMask(GfxState *state, Object *ref, Stream *str,
41 int width, int height, GBool invert,
43 virtual void drawImage(GfxState *state, Object *ref, Stream *str,
44 int width, int height, GfxImageColorMap *colorMap,
45 int *maskColors, GBool inlineImg);
46 virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str,
47 int width, int height,
48 GfxImageColorMap *colorMap,
50 int maskWidth, int maskHeight,
52 virtual void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str,
53 int width, int height,
54 GfxImageColorMap *colorMap,
56 int maskWidth, int maskHeight,
57 GfxImageColorMap *maskColorMap);
60 #endif //__infooutputdev_h__