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:
56a7509
)
fixed rescaling bug in fillgradient and addlink
author
kramm
<kramm>
Fri, 26 Sep 2008 18:03:16 +0000
(18:03 +0000)
committer
kramm
<kramm>
Fri, 26 Sep 2008 18:03:16 +0000
(18:03 +0000)
lib/devices/rescale.c
patch
|
blob
|
history
diff --git
a/lib/devices/rescale.c
b/lib/devices/rescale.c
index
53d3623
..
e82aed6
100644
(file)
--- a/
lib/devices/rescale.c
+++ b/
lib/devices/rescale.c
@@
-211,7
+211,7
@@
void rescale_fillgradient(gfxdevice_t*dev, gfxline_t*line, gfxgradient_t*gradien
{
internal_t*i = (internal_t*)dev->internal;
gfxline_t*line2 = transformgfxline(i, line);
- i->out->fillgradient(i->out, line, gradient, type, matrix);
+ i->out->fillgradient(i->out, line2, gradient, type, matrix);
gfxline_free(line2);
}
@@
-233,7
+233,7
@@
void rescale_drawlink(gfxdevice_t*dev, gfxline_t*line, const char*action)
{
internal_t*i = (internal_t*)dev->internal;
gfxline_t*line2 = transformgfxline(i, line);
- i->out->drawlink(i->out, line, action);
+ i->out->drawlink(i->out, line2, action);
gfxline_free(line2);
}