summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-12-13 07:47:11 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-12-13 07:47:11 +0000
commita22e4b8bd5eca2db7e7fbea27fca934110991ca9 (patch)
treef9732e184b4167792d61de6292d8e6cdb4287a81 /basegfx
parent4f9d31998459072fdaf24ed7fbcd1a26782dea04 (diff)
INTEGRATION: CWS aw022 (1.7.38); FILE MERGED
2004/11/25 11:09:18 aw 1.7.38.2: #i37443# 2004/11/18 11:47:28 aw 1.7.38.1: #i37380#
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/inc/basegfx/curve/b2dcubicbezier.hxx19
1 files changed, 17 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx b/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx
index d34a3cbf6e88..7009531655dc 100644
--- a/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx
+++ b/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dcubicbezier.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: thb $ $Date: 2004-02-16 17:03:04 $
+ * last change: $Author: rt $ $Date: 2004-12-13 08:47:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,6 +67,14 @@
#endif
//////////////////////////////////////////////////////////////////////////////
+// predeclarations
+
+namespace basegfx
+{
+ class B2DPolygon;
+} // end of namespace basegfx
+
+//////////////////////////////////////////////////////////////////////////////
namespace basegfx
{
@@ -116,6 +124,13 @@ namespace basegfx
::basegfx::B2DPoint getControlPointB() const { return maControlPointB; }
void setControlPointB(const ::basegfx::B2DPoint& rValue) { maControlPointB = rValue; }
+
+ // adaptive subdivide by angle criteria
+ // #i37443# allow the criteria to get unsharp in recursions
+ void adaptiveSubdivideByAngle(B2DPolygon& rTarget, double fAngleBound, bool bAddLastPoint, bool bAllowUnsharpen) const;
+
+ // #i37443# adaptive subdivide by nCount subdivisions
+ void adaptiveSubdivideByCount(B2DPolygon& rTarget, sal_uInt32 nCount, bool bAddLastPoint) const;
};
} // end of namespace basegfx