This looks wrong for sure, too.
This commit is contained in:
parent
307535d98a
commit
be35cbe0d8
1 changed files with 4 additions and 4 deletions
|
@ -263,9 +263,9 @@ void renderClippedLine( basegfx::B2IPoint aPt1,
|
||||||
prepareClip(x1, x2, y1, adx, ady, xs, ys, sx, sy,
|
prepareClip(x1, x2, y1, adx, ady, xs, ys, sx, sy,
|
||||||
rem, n, clipCode1, clipCount1, clipCode2, clipCount2,
|
rem, n, clipCode1, clipCount1, clipCode2, clipCount2,
|
||||||
rClipRect.getMinX(), basegfx::tools::RectClipFlags::LEFT,
|
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.getMinY(), basegfx::tools::RectClipFlags::TOP,
|
||||||
rClipRect.getMaxY(), basegfx::tools::RectClipFlags::BOTTOM,
|
rClipRect.getMaxY()-1, basegfx::tools::RectClipFlags::BOTTOM,
|
||||||
bRoundTowardsPt2 ));
|
bRoundTowardsPt2 ));
|
||||||
|
|
||||||
Iterator currIter( begin + vigra::Diff2D(0,ys) );
|
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,
|
prepareClip(y1, y2, x1, ady, adx, ys, xs, sy, sx,
|
||||||
rem, n, clipCode1, clipCount1, clipCode2, clipCount2,
|
rem, n, clipCode1, clipCount1, clipCode2, clipCount2,
|
||||||
rClipRect.getMinY(), basegfx::tools::RectClipFlags::TOP,
|
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.getMinX(), basegfx::tools::RectClipFlags::LEFT,
|
||||||
rClipRect.getMaxX(), basegfx::tools::RectClipFlags::RIGHT,
|
rClipRect.getMaxX()-1, basegfx::tools::RectClipFlags::RIGHT,
|
||||||
bRoundTowardsPt2 ));
|
bRoundTowardsPt2 ));
|
||||||
|
|
||||||
Iterator currIter( begin + vigra::Diff2D(xs,0) );
|
Iterator currIter( begin + vigra::Diff2D(xs,0) );
|
||||||
|
|
Loading…
Reference in a new issue