summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-05 09:33:59 +0200
committerNoel Grandin <noel@peralex.com>2014-03-05 09:34:36 +0200
commit1f6cce7e52c5007457d1a39263efe54ee87e9fab (patch)
tree21b5cf13e0e08a7d6f81694f4c06896d2d5963c8 /include/basegfx
parent8c443f5c03d5202a7ef0c2738a21c74c36ef06a2 (diff)
Revert "remove unused code in basegfx"
Some of this code is used by Windows. This reverts commit b96724560f119b1b9ab8b5e1ee1759fd9b2db203.
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/polygon/b2dpolypolygontools.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx
index c21489ae2053..e92fe5a2f01a 100644
--- a/include/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolypolygontools.hxx
@@ -287,6 +287,11 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC B2DPolyPolygon snapPointsOfHorizontalOrVerticalEdges(const B2DPolyPolygon& rCandidate);
+ /** returns true if the Polygon only contains horizontal or vertical edges
+ so that it could be represented by RegionBands
+ */
+ BASEGFX_DLLPUBLIC bool containsOnlyHorizontalAndVerticalEdges(const B2DPolyPolygon& rCandidate);
+
/// converters for com::sun::star::drawing::PointSequence
BASEGFX_DLLPUBLIC B2DPolyPolygon UnoPointSequenceSequenceToB2DPolyPolygon(
const com::sun::star::drawing::PointSequenceSequence& rPointSequenceSequenceSource,