X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fxpdf%2FGFXOutputDev.h;h=d828242fc3daaa6746abb6019ee3ed36c635bbd0;hb=66f6d2a40bed5716c469f0e2c8de1cc13e0022a2;hp=776ad77fdd737ce5badfb5e74bdfc0a375d71990;hpb=7698e805046e0f7c99813b916df2539408fdad4f;p=swftools.git diff --git a/lib/xpdf/GFXOutputDev.h b/lib/xpdf/GFXOutputDev.h index 776ad77..d828242 100644 --- a/lib/xpdf/GFXOutputDev.h +++ b/lib/xpdf/GFXOutputDev.h @@ -37,7 +37,7 @@ public: gfxdevice_t* device; // Constructor. - GFXOutputDev::GFXOutputDev(parameter_t*p); + GFXOutputDev(parameter_t*p); void setDevice(gfxdevice_t*dev); // Destructor. @@ -189,6 +189,11 @@ public: char* substitutesource[256]; int substitutepos; + /* upper left corner of clipping rectangle (cropbox)- needs to be + added to all drawing coordinates to give the impression that all + pages start at (0,0)*/ + int clipmovex,clipmovey; + int user_movex,user_movey; int user_clipx1,user_clipx2,user_clipy1,user_clipy2;