git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad94a53
)
fixed clipping
author
kramm
<kramm>
Mon, 30 Oct 2006 09:51:03 +0000
(09:51 +0000)
committer
kramm
<kramm>
Mon, 30 Oct 2006 09:51:03 +0000
(09:51 +0000)
lib/xpdf/GFXOutputDev.h
patch
|
blob
|
history
diff --git
a/lib/xpdf/GFXOutputDev.h
b/lib/xpdf/GFXOutputDev.h
index
776ad77
..
d828242
100644
(file)
--- a/
lib/xpdf/GFXOutputDev.h
+++ b/
lib/xpdf/GFXOutputDev.h
@@
-37,7
+37,7
@@
public:
gfxdevice_t* device;
// Constructor.
gfxdevice_t* device;
// Constructor.
- GFXOutputDev::GFXOutputDev(parameter_t*p);
+ GFXOutputDev(parameter_t*p);
void setDevice(gfxdevice_t*dev);
// Destructor.
void setDevice(gfxdevice_t*dev);
// Destructor.
@@
-189,6
+189,11
@@
public:
char* substitutesource[256];
int substitutepos;
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;
int user_movex,user_movey;
int user_clipx1,user_clipx2,user_clipy1,user_clipy2;