X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fxpdf%2FOutputDev.h;h=464f16be5c71a2302025913f58ac004d3cd5a0cc;hb=c98051785717925e8afb55626f88211b8e7a691d;hp=fb7d8abe727c2038933c8ca61951d5c20512eae5;hpb=c7432833fe3a6469d63fad135151a92e12877b94;p=swftools.git diff --git a/pdf2swf/xpdf/OutputDev.h b/pdf2swf/xpdf/OutputDev.h index fb7d8ab..464f16b 100644 --- a/pdf2swf/xpdf/OutputDev.h +++ b/pdf2swf/xpdf/OutputDev.h @@ -48,6 +48,9 @@ public: // 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; @@ -61,7 +64,7 @@ public: 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() {}