39class Device : public OutputDev
46 void dumpPage(uint i);
49 virtual GBool upsideDown() { return gTrue; }
50 virtual GBool useDrawChar() { return gTrue; }
51 virtual GBool interpretType3Chars() { return gFalse; }
52 virtual GBool needNonText() { return gFalse; }
55 virtual void startPage( int pageNum, GfxState *state);
56 virtual void endPage();
59 virtual void updateAll(GfxState *state);
66 virtual void updateFillColor(GfxState *state);
67 virtual void updateStrokeColor(GfxState *state);
70 virtual void updateFont(GfxState *state);
73 virtual void beginString(GfxState *state, GString *s);
74 virtual void endString(GfxState *state);
75 virtual void drawChar(GfxState *state, double x, double y,
77 double originX, double originY,
78 CharCode c, Unicode *u, int uLen);
81 virtual void drawLink(::Link* link, Catalog *cat);
84 virtual void drawImageMask(GfxState *, Object *ref, Stream *,
85 int width, int height, GBool invert,
87 virtual void drawImage(GfxState *, Object *ref, Stream *,
88 int width, int height, GfxImageColorMap *colorMap,
89 int *maskColors, GBool inlineImg);
92 virtual void stroke(GfxState *state);
93 virtual void fill(GfxState *state);
94 virtual void eoFill(GfxState *state);
98 static void computeGeometry(GfxState *, Image &);
99 uint initImage(GfxState *, int width, int height, bool mask);
102 static DPathVector convertPath(GfxState *);
103 void doFill( const DPathVector &);
104 Page *current() const { return _pages.getLast(); }
108 TQPtrList<Page> _pages;
109 TQColor _fillColor, _strokeColor;
118 typedef TQValueList<Image> ImageList;
|