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:
d390c18
)
rescale prototype changed
author
kramm
<kramm>
Mon, 10 Dec 2007 23:07:25 +0000
(23:07 +0000)
committer
kramm
<kramm>
Mon, 10 Dec 2007 23:07:25 +0000
(23:07 +0000)
lib/python/gfx.c
patch
|
blob
|
history
diff --git
a/lib/python/gfx.c
b/lib/python/gfx.c
index
6838974
..
e679665
100644
(file)
--- a/
lib/python/gfx.c
+++ b/
lib/python/gfx.c
@@
-438,7
+438,7
@@
static PyObject* page_asImage(PyObject* _self, PyObject* args, PyObject* kwargs)
gfxdevice_t dev1,dev2;
gfxdevice_render_init(&dev1);
dev1.setparameter(&dev1, "antialise", "2");
- gfxdevice_rescale_init(&dev2, &dev1, width, height);
+ gfxdevice_rescale_init(&dev2, &dev1, width, height, 0);
dev2.startpage(&dev2, self->page->width, self->page->height);
self->page->render(self->page, &dev2);
dev2.endpage(&dev2);