X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FOutputDev.h;h=bbf8b692e26dc5d090541a618bc935102261cb0f;hb=6887c2c43edcf389641f03f027e32baf7a373d1d;hp=ec99ffa301d6fb01381114c35fcae1b49219ef65;hpb=d5f6bff1a13c848afbd74dd2e82c78bbdead54d2;p=evince.git diff --git a/pdf/xpdf/OutputDev.h b/pdf/xpdf/OutputDev.h index ec99ffa3..bbf8b692 100644 --- a/pdf/xpdf/OutputDev.h +++ b/pdf/xpdf/OutputDev.h @@ -2,14 +2,16 @@ // // OutputDev.h // -// Copyright 1996-2002 Glyph & Cog, LLC +// Copyright 1996-2003 Glyph & Cog, LLC // //======================================================================== #ifndef OUTPUTDEV_H #define OUTPUTDEV_H -#ifdef __GNUC__ +#include + +#ifdef USE_GCC_PRAGMAS #pragma interface #endif @@ -71,7 +73,7 @@ public: //----- coordinate conversion // Convert between device and user coordinates. - virtual void cvtDevToUser(int dx, int dy, double *ux, double *uy); + virtual void cvtDevToUser(double dx, double dy, double *ux, double *uy); virtual void cvtUserToDev(double ux, double uy, int *dx, int *dy); //----- link borders @@ -124,9 +126,11 @@ public: double originX, double originY, CharCode code, Unicode *u, int uLen) {} virtual void drawString(GfxState *state, GString *s) {} - virtual GBool beginType3Char(GfxState *state, + virtual GBool beginType3Char(GfxState *state, double x, double y, + double dx, double dy, CharCode code, Unicode *u, int uLen); virtual void endType3Char(GfxState *state) {} + virtual void endTextObject(GfxState *state) {} //----- image drawing virtual void drawImageMask(GfxState *state, Object *ref, Stream *str,