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:
7d8b526
)
align bitmaps properly
author
kramm
<kramm>
Fri, 26 Sep 2008 11:51:04 +0000
(11:51 +0000)
committer
kramm
<kramm>
Fri, 26 Sep 2008 11:51:04 +0000
(11:51 +0000)
lib/pdf/BitmapOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/BitmapOutputDev.cc
b/lib/pdf/BitmapOutputDev.cc
index
6ed165d
..
4b2a334
100644
(file)
--- a/
lib/pdf/BitmapOutputDev.cc
+++ b/
lib/pdf/BitmapOutputDev.cc
@@
-269,6
+269,8
@@
void BitmapOutputDev::flushBitmap()
m.ty = ymin;
m.m00 = m.m11 = 1;
m.m10 = m.m01 = 0;
+ m.tx -= 0.5;
+ m.ty -= 0.5;
gfxline_t* line = gfxline_makerectangle(xmin, ymin, xmax, ymax);
dev->fillbitmap(dev, line, img, &m, 0);