fixed clipping
authorkramm <kramm>
Mon, 30 Oct 2006 09:51:03 +0000 (09:51 +0000)
committerkramm <kramm>
Mon, 30 Oct 2006 09:51:03 +0000 (09:51 +0000)
lib/xpdf/GFXOutputDev.h

index 776ad77..d828242 100644 (file)
@@ -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;