summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-11-26 17:33:48 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-11-26 17:33:48 +0000
commitdc87f3ebeb2009c14b21906be458775582adb4d1 (patch)
tree976532a53b275488736f85260f4ba1be210525ae /basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
parent1a3b0bfda58642cf4195fad02af46a8969ec3452 (diff)
INTEGRATION: CWS presentationengine01 (1.8.2); FILE MERGED
2004/11/17 18:53:18 thb 1.8.2.3: RESYNC: (1.9-1.10); FILE MERGED 2004/08/23 14:12:02 thb 1.8.2.2: RESYNC: (1.8-1.9); FILE MERGED 2004/07/01 17:01:01 thb 1.8.2.1: #110496# Added SVG import to B2DPolygon
Diffstat (limited to 'basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx')
-rw-r--r--basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx26
1 files changed, 24 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
index 91945101fa27..f0602726491a 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dpolypolygontools.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: pjunck $ $Date: 2004-11-03 08:34:34 $
+ * last change: $Author: rt $ $Date: 2004-11-26 18:33:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,6 +76,11 @@
#include <vector>
+namespace rtl
+{
+ class OUString;
+}
+
//////////////////////////////////////////////////////////////////////////////
namespace basegfx
@@ -139,6 +144,23 @@ namespace basegfx
// with distance fDistance and rounded edges (start and end point).
bool isInEpsilonRange(const B2DPolyPolygon& rCandidate, const B2DPoint& rTestPosition, double fDistance);
+ /** Read poly-polygon from SVG.
+
+ This function imports a poly-polygon from an SVG-D
+ statement. Currently, elliptical arc elements are not yet
+ supported (and ignored during parsing).
+
+ @param o_rPolyPoly
+ The output poly-polygon
+
+ @param rSvgDStatement
+ A valid SVG-D statement
+
+ @return true, if the string was successfully parsed
+ */
+ bool importFromSvgD( ::basegfx::B2DPolyPolygon& o_rPolyPoly,
+ const ::rtl::OUString& rSvgDStatement );
+
} // end of namespace tools
} // end of namespace basegfx