summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-10-11 16:57:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-10-11 20:26:34 +0100
commit66c803ebcb4bc164ca5af1cf752aeb645735f186 (patch)
tree9f659782a9199c300562c8e0e56f652fcab57e87 /include/basegfx
parentd61168908ced2e4bae32b8e0ae0a6eba6dbf37fc (diff)
Resolves: #i123379# various SVG marker corrections
(cherry picked from commit ff1eee61fc56b06e436735f5e2b133db56de3608) Conflicts: basegfx/inc/basegfx/polygon/b2dpolygontools.hxx Change-Id: I818657573a1e673e312702a4b45e7bb6394250d2
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/polygon/b2dpolygontools.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/basegfx/polygon/b2dpolygontools.hxx b/include/basegfx/polygon/b2dpolygontools.hxx
index 3be763bd18ad..af5559eff6a7 100644
--- a/include/basegfx/polygon/b2dpolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolygontools.hxx
@@ -439,6 +439,14 @@ namespace basegfx
*/
bool containsOnlyHorizontalAndVerticalEdges(const B2DPolygon& rCandidate);
+ /// get the tangent with which the given point is entered seen from the previous
+ /// polygon path data. Take into account all stuff like closed state, zero-length edges and others.
+ BASEGFX_DLLPUBLIC B2DVector getTangentEnteringPoint(const B2DPolygon& rCandidate, sal_uInt32 nIndex);
+
+ /// get the tangent with which the given point is left seen from the following
+ /// polygon path data. Take into account all stuff like closed state, zero-length edges and others.
+ BASEGFX_DLLPUBLIC B2DVector getTangentLeavingPoint(const B2DPolygon& rCandidate, sal_uInt32 nIndex);
+
} // end of namespace tools
} // end of namespace basegfx