diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-17 01:45:58 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-17 02:41:13 +1000 |
commit | 2024224a4ee351841f50a6f7b8a267f605a17096 (patch) | |
tree | f6f3ff8343609ccb1707b141c3deefff413018ac /include/tools/poly.hxx | |
parent | e1f9e73893e3d5760dab45b9322eca9fb8ce7ac4 (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.hxx | 2 |
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; |