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:
7def1e1
)
moved bitmaps by (-0.5,-0.5), in the hope that the duplicate top row/left
author
kramm
<kramm>
Thu, 30 Dec 2004 18:23:23 +0000
(18:23 +0000)
committer
kramm
<kramm>
Thu, 30 Dec 2004 18:23:23 +0000
(18:23 +0000)
column syndrom goes away.
pdf2swf/swfoutput.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/swfoutput.cc
b/pdf2swf/swfoutput.cc
index
8bfd968
..
93f2a84
100644
(file)
--- a/
pdf2swf/swfoutput.cc
+++ b/
pdf2swf/swfoutput.cc
@@
-2247,8
+2247,8
@@
static void drawimage(struct swfoutput*obj, int bitid, int sizex,int sizey,
m.r0 = (int)(65536*20*(p1.x-p2.x)/sizey);
m.sy = -(int)(65536*20*(p1.y-p2.y)/sizey);
- m.tx = (int)(p1.x*20);
- m.ty = (int)(p1.y*20);
+ m.tx = (int)(p1.x*20) - 10;
+ m.ty = (int)(p1.y*20) - 10;
/* shape */
myshapeid = ++i->currentswfid;