summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2004-02-12 16:33:43 +0000
committerArmin Weiss <aw@openoffice.org>2004-02-12 16:33:43 +0000
commit2c3e2190e05168a7e28df0c8ceb6512936561d33 (patch)
tree25fcb8847ae19f6abe043ff54fcf7b0d7df5aaf6 /basegfx
parentb23dfd18d71d77164ae51be108de09f3ed00f7a7 (diff)
Added areControlPointsUsed(), areControlVectorsUsed() methods
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/inc/basegfx/polygon/b2dpolypolygon.hxx7
-rw-r--r--basegfx/source/polygon/b2dpolypolygon.cxx8
2 files changed, 8 insertions, 7 deletions
diff --git a/basegfx/inc/basegfx/polygon/b2dpolypolygon.hxx b/basegfx/inc/basegfx/polygon/b2dpolypolygon.hxx
index 2fe9ea8b7063..7a92ff274110 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolypolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolypolygon.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dpolypolygon.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: thb $ $Date: 2004-01-16 10:34:00 $
+ * last change: $Author: aw $ $Date: 2004-02-12 17:33:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -107,7 +107,8 @@ namespace basegfx
void setB2DPolygon(sal_uInt32 nIndex, const B2DPolygon& rPolygon);
// test for curve
- bool areControlPointsUsed() const;
+ bool areControlVectorsUsed() const;
+ bool areControlPointsUsed() const { return areControlVectorsUsed(); }
// insert/append single polygon
void insert(sal_uInt32 nIndex, const B2DPolygon& rPolygon, sal_uInt32 nCount = 1);
diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx b/basegfx/source/polygon/b2dpolypolygon.cxx
index 7861ce4cc6e2..0b32eec54d51 100644
--- a/basegfx/source/polygon/b2dpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dpolypolygon.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dpolypolygon.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: aw $ $Date: 2004-02-03 18:18:23 $
+ * last change: $Author: aw $ $Date: 2004-02-12 17:33:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -318,13 +318,13 @@ namespace basegfx
}
}
- bool B2DPolyPolygon::areControlPointsUsed() const
+ bool B2DPolyPolygon::areControlVectorsUsed() const
{
for(sal_uInt32 a(0L); a < mpPolyPolygon->count(); a++)
{
const ::basegfx::B2DPolygon& rPolygon = mpPolyPolygon->getB2DPolygon(a);
- if(rPolygon.areControlPointsUsed())
+ if(rPolygon.areControlVectorsUsed())
{
return true;
}