diff options
Diffstat (limited to 'basegfx/source')
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygontools.cxx | 29 | ||||
-rw-r--r-- | basegfx/source/tools/canvastools.cxx | 8 |
2 files changed, 0 insertions, 37 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx index b1507768220f..45c54f5ba861 100644 --- a/basegfx/source/polygon/b2dpolypolygontools.cxx +++ b/basegfx/source/polygon/b2dpolypolygontools.cxx @@ -170,35 +170,6 @@ namespace basegfx } } - B2DPolyPolygon adaptiveSubdivideByCount(const B2DPolyPolygon& rCandidate, sal_uInt32 nCount) - { - if(rCandidate.areControlPointsUsed()) - { - const sal_uInt32 nPolygonCount(rCandidate.count()); - B2DPolyPolygon aRetval; - - for(sal_uInt32 a(0L); a < nPolygonCount; a++) - { - const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a)); - - if(aCandidate.areControlPointsUsed()) - { - aRetval.append(tools::adaptiveSubdivideByCount(aCandidate, nCount)); - } - else - { - aRetval.append(aCandidate); - } - } - - return aRetval; - } - else - { - return rCandidate; - } - } - bool isInside(const B2DPolyPolygon& rCandidate, const B2DPoint& rPoint, bool bWithBorder) { const sal_uInt32 nPolygonCount(rCandidate.count()); diff --git a/basegfx/source/tools/canvastools.cxx b/basegfx/source/tools/canvastools.cxx index 75534f631aee..a4a47ca37c88 100644 --- a/basegfx/source/tools/canvastools.cxx +++ b/basegfx/source/tools/canvastools.cxx @@ -471,14 +471,6 @@ namespace basegfx rRect.Y + rRect.Height ); } - ::basegfx::B2IBox b2ISurroundingBoxFromB2DRange( const ::basegfx::B2DRange& rRange ) - { - return ::basegfx::B2IBox( static_cast<sal_Int32>( floor(rRange.getMinX()) ), - static_cast<sal_Int32>( floor(rRange.getMinY()) ), - static_cast<sal_Int32>( ceil(rRange.getMaxX()) ), - static_cast<sal_Int32>( ceil(rRange.getMaxY()) ) ); - } - ::basegfx::B2IRange b2ISurroundingRangeFromB2DRange( const ::basegfx::B2DRange& rRange ) { return ::basegfx::B2IRange( static_cast<sal_Int32>( floor(rRange.getMinX()) ), |