// Does this device use drawChar() or drawString()?
virtual GBool useDrawChar() = 0;
+ // Is this device able to draw gradients?
+ virtual GBool useGradients() = 0;
+
// Does this device use beginType3Char/endType3Char? Otherwise,
// text in Type 3 fonts will be drawn with drawChar/drawString.
virtual GBool interpretType3Chars() = 0;
virtual void setDefaultCTM(double *ctm);
// Start a page.
- virtual void startPage(int pageNum, GfxState *state) {}
+ virtual void startPage(int pageNum, GfxState *state, double x1,double y1,double x2,double y2) {}
// End a page.
virtual void endPage() {}