summaryrefslogtreecommitdiff
path: root/include/basegfx/polygon
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-10-26 11:00:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-12 15:38:50 +0100
commit70e3eb2c1762fb1ca097cf671e3c7ce3d0dfd1b7 (patch)
tree80ec388e04d6fa22e19c8ba5329cab9f2068c666 /include/basegfx/polygon
parenta70233e991619e134fde2c5ff6037960d07a06ae (diff)
Resolves: #i121267# added support for taking clipping into account...
for metafile-based exporters to vector formats (cherry picked from commit 229a79b97110c11ef21b7b99ffc768254ca01d96) Conflicts: basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx filter/source/flash/swfexporter.cxx filter/source/graphicfilter/eos2met/eos2met.cxx svtools/source/filter/wmf/wmf.cxx vcl/Package_inc.mk Remove unused variable to prevent compile warnings. (cherry picked from commit 60d19c1602e4fec740624fd20a7bfd39707297e4) Change-Id: Iaeb02d7321bea2890cf4e969f1d45d58deef5584 106285f06a21f4f39f34c6755d12ac6cd4196a7f
Diffstat (limited to 'include/basegfx/polygon')
-rw-r--r--include/basegfx/polygon/b2dpolypolygontools.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx
index 29ae3e042133..01c1306de82d 100644
--- a/include/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolypolygontools.hxx
@@ -78,6 +78,12 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC B2DRange getRange(const B2DPolyPolygon& rCandidate);
+ // get signed area of polygon
+ BASEGFX_DLLPUBLIC double getSignedArea(const B2DPolyPolygon& rCandidate);
+
+ // get area of polygon
+ BASEGFX_DLLPUBLIC double getArea(const B2DPolyPolygon& rCandidate);
+
/** Apply given LineDashing to given polyPolygon
For a description see applyLineDashing in b2dpolygontoos.hxx