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:
8e8f6b7
)
subtract (0.5,0.5) from the texture position to get rid of the
author
kramm
<kramm>
Sat, 18 Dec 2004 22:35:12 +0000
(22:35 +0000)
committer
kramm
<kramm>
Sat, 18 Dec 2004 22:35:12 +0000
(22:35 +0000)
"duplicate first line" problem.
src/jpeg2swf.c
patch
|
blob
|
history
diff --git
a/src/jpeg2swf.c
b/src/jpeg2swf.c
index
098308d
..
7c23147
100644
(file)
--- a/
src/jpeg2swf.c
+++ b/
src/jpeg2swf.c
@@
-240,6
+240,8
@@
TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int quality,
swf_GetMatrix(NULL, &m);
m.sx = 20 * 0x10000;
m.sy = 20 * 0x10000;
+ m.tx = -10;
+ m.ty = -10;
fs = swf_ShapeAddBitmapFillStyle(s, &m, id, 0);
swf_SetU16(t, id + 1); // id
r.xmin = r.ymin = 0;