summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-10 09:35:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-10 10:09:29 +0000
commit629cd5caadc6dced0d0f6b48368c5b6e55ea757e (patch)
tree1a50fcad22766893fa74c56907444cc5f4815d4a /basegfx/source/polygon
parent84479bc5ab3a185abb57c39d0a0a7a8c763b5875 (diff)
callcatcher: update list
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b2dpolygon.cxx40
1 files changed, 0 insertions, 40 deletions
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx
index 3bc0401e271e..a7749220931c 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -1378,17 +1378,6 @@ namespace basegfx
}
}
- void B2DPolygon::resetControlPoints(sal_uInt32 nIndex)
- {
- OSL_ENSURE(nIndex < mpPolygon->count(), "B2DPolygon access outside range (!)");
-
- if(mpPolygon->areControlPointsUsed() &&
- (!mpPolygon->getPrevControlVector(nIndex).equalZero() || !mpPolygon->getNextControlVector(nIndex).equalZero()))
- {
- mpPolygon->resetControlVectors(nIndex);
- }
- }
-
void B2DPolygon::resetControlPoints()
{
if(mpPolygon->areControlPointsUsed())
@@ -1451,35 +1440,6 @@ namespace basegfx
}
}
- bool B2DPolygon::isBezierSegment(sal_uInt32 nIndex) const
- {
- OSL_ENSURE(nIndex < mpPolygon->count(), "B2DPolygon access outside range (!)");
-
- if(mpPolygon->areControlPointsUsed())
- {
- // Check if the edge exists
- const bool bNextIndexValidWithoutClose(nIndex + 1 < mpPolygon->count());
-
- if(bNextIndexValidWithoutClose || mpPolygon->isClosed())
- {
- const sal_uInt32 nNextIndex(bNextIndexValidWithoutClose ? nIndex + 1 : 0);
- return (!mpPolygon->getPrevControlVector(nNextIndex).equalZero()
- || !mpPolygon->getNextControlVector(nIndex).equalZero());
- }
- else
- {
- // no valid edge -> no bezier segment, even when local next
- // vector may be used
- return false;
- }
- }
- else
- {
- // no control points -> no bezier segment
- return false;
- }
- }
-
void B2DPolygon::getBezierSegment(sal_uInt32 nIndex, B2DCubicBezier& rTarget) const
{
OSL_ENSURE(nIndex < mpPolygon->count(), "B2DPolygon access outside range (!)");