summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/polygon
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 22:52:26 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 22:52:26 +0000
commita9a5b310e2bcdfa93f9a2459f151f1bef2a5bac7 (patch)
tree57c859dfcf5b201e19ff7d9a455f09d612fc274e /basegfx/inc/basegfx/polygon
parent4a287eadb849020f5df8e1920cb1f3885cebb732 (diff)
INTEGRATION: CWS aw033 (1.3.2); FILE MERGED
2008/05/14 14:42:35 aw 1.3.2.3: RESYNC: (1.4-1.5); FILE MERGED 2007/12/03 13:53:13 aw 1.3.2.2: #i39532# checkin for resync 2005/10/28 11:21:55 aw 1.3.2.1: #i39532#
Diffstat (limited to 'basegfx/inc/basegfx/polygon')
-rw-r--r--basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx b/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
index c959173bf04a..aa4682a665cd 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: b2dpolygoncutandtouch.hxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -58,6 +58,16 @@ namespace basegfx
// not change or add points to rMask.
B2DPolyPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rMask, const B2DPolyPolygon& rCandidate);
+ // look for intersections of rCandidate with the edge from rStart to rEnd and add extra points there.
+ // Points are only added in the range of the edge, not on the endless vector.
+ B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd);
+ B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd);
+
+ // look for intersections of rCandidate with the mask Polygon and add extra points there.
+ // The mask polygon is assumed to be closed, even when it's not explicitely.
+ B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPolyPolygon& rMask);
+ B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, const B2DPolyPolygon& rMask);
+
} // end of namespace tools
} // end of namespace basegfx