diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2011-11-04 16:11:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-04 16:28:33 +0000 |
commit | be35cbe0d86b416414972754af7dfef9c21bc3b0 (patch) | |
tree | 94a413ea368d9f7477a75645c058af53b13d3dad /basebmp | |
parent | 307535d98aeb171ee5e291b77f6c5028b4db936d (diff) |
This looks wrong for sure, too.
Diffstat (limited to 'basebmp')
-rw-r--r-- | basebmp/inc/basebmp/clippedlinerenderer.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basebmp/inc/basebmp/clippedlinerenderer.hxx b/basebmp/inc/basebmp/clippedlinerenderer.hxx index 9969b968ff8a..d1c06f66e076 100644 --- a/basebmp/inc/basebmp/clippedlinerenderer.hxx +++ b/basebmp/inc/basebmp/clippedlinerenderer.hxx @@ -263,9 +263,9 @@ void renderClippedLine( basegfx::B2IPoint aPt1, prepareClip(x1, x2, y1, adx, ady, xs, ys, sx, sy, rem, n, clipCode1, clipCount1, clipCode2, clipCount2, rClipRect.getMinX(), basegfx::tools::RectClipFlags::LEFT, - rClipRect.getMaxX(), basegfx::tools::RectClipFlags::RIGHT, + rClipRect.getMaxX()-1, basegfx::tools::RectClipFlags::RIGHT, rClipRect.getMinY(), basegfx::tools::RectClipFlags::TOP, - rClipRect.getMaxY(), basegfx::tools::RectClipFlags::BOTTOM, + rClipRect.getMaxY()-1, basegfx::tools::RectClipFlags::BOTTOM, bRoundTowardsPt2 )); Iterator currIter( begin + vigra::Diff2D(0,ys) ); @@ -339,9 +339,9 @@ void renderClippedLine( basegfx::B2IPoint aPt1, prepareClip(y1, y2, x1, ady, adx, ys, xs, sy, sx, rem, n, clipCode1, clipCount1, clipCode2, clipCount2, rClipRect.getMinY(), basegfx::tools::RectClipFlags::TOP, - rClipRect.getMaxY(), basegfx::tools::RectClipFlags::BOTTOM, + rClipRect.getMaxY()-1, basegfx::tools::RectClipFlags::BOTTOM, rClipRect.getMinX(), basegfx::tools::RectClipFlags::LEFT, - rClipRect.getMaxX(), basegfx::tools::RectClipFlags::RIGHT, + rClipRect.getMaxX()-1, basegfx::tools::RectClipFlags::RIGHT, bRoundTowardsPt2 )); Iterator currIter( begin + vigra::Diff2D(xs,0) ); |