diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-19 14:01:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-19 14:26:51 +0100 |
commit | d074b2728afa0b902c75ca0ebaae209454e6d922 (patch) | |
tree | 0f6af93e0d2aeec52a6c4d459f2c7e053653b893 /basegfx | |
parent | fbb3b60cdb7a22595eec80232bb3ccd83781cf00 (diff) |
Resolves: tdf#100909 artifacts in hole of polypolygon shape
regression from...
commit 1ca06ce59b7d3cea873d2dc109a2acaec0a80759
Date: Tue Aug 5 16:11:21 2014 +0000
Related: #i125349# moved clip enhancements to base clipping functionality
The "reversed" clipPolyPolygonOnRange path is the problem apparently. The case
in #i125349# uses the other clipPolyPolygonOnRange path. So for simplicity just
remove the branch that's causing trouble here.
Change-Id: Ia4c60ebc44a8c239c1a7d5c84e9b970c2885ff05
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolygonclipper.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/basegfx/source/polygon/b2dpolygonclipper.cxx b/basegfx/source/polygon/b2dpolygonclipper.cxx index 7b4916993c0b..360263a4f91b 100644 --- a/basegfx/source/polygon/b2dpolygonclipper.cxx +++ b/basegfx/source/polygon/b2dpolygonclipper.cxx @@ -426,14 +426,6 @@ namespace basegfx // both are ranges bBothRectangle = true; } - else - { - // rCandidate is rectangle -> clip rClip on rRectangle, use the much - // cheaper and numerically more stable clipping against a range - // This simplification (exchanging content and clip) is valid - // since we do a logical AND operation - return clipPolyPolygonOnRange(rClip, rCandidate.getB2DRange(), bInside, bStroke); - } } else if(basegfx::tools::isRectangle(rClip)) { |