summaryrefslogtreecommitdiff
path: root/include/tools/poly.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-17 01:45:58 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-17 02:41:13 +1000
commit2024224a4ee351841f50a6f7b8a267f605a17096 (patch)
treef6f3ff8343609ccb1707b141c3deefff413018ac /include/tools/poly.hxx
parente1f9e73893e3d5760dab45b9322eca9fb8ce7ac4 (diff)
Move bezier functions
Move ImplSubdivideBezier(Polygon) to Polygon as a static function. Move ImplSubdivideBezier(PolyPolygon) to PolyPolygon as a static function. Change-Id: I0d006a8a2d3a8d9ba1aec913ceecb38507e4dd2f
Diffstat (limited to 'include/tools/poly.hxx')
-rw-r--r--include/tools/poly.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tools/poly.hxx b/include/tools/poly.hxx
index 5f5171c99005..dbfb94da729a 100644
--- a/include/tools/poly.hxx
+++ b/include/tools/poly.hxx
@@ -156,6 +156,7 @@ public:
pixel.
*/
void AdaptiveSubdivide( Polygon& rResult, const double d = 1.0 ) const;
+ static Polygon SubdivideBezier( const Polygon& rPoly );
void Move( long nHorzMove, long nVertMove );
void Translate( const Point& rTrans );
@@ -242,6 +243,7 @@ public:
pixel.
*/
void AdaptiveSubdivide( PolyPolygon& rResult, const double d = 1.0 ) const;
+ static PolyPolygon SubdivideBezier( const PolyPolygon& rPolyPoly );
void GetIntersection( const PolyPolygon& rPolyPoly, PolyPolygon& rResult ) const;
void GetUnion( const PolyPolygon& rPolyPoly, PolyPolygon& rResult ) const;