summaryrefslogtreecommitdiffstats
path: root/src/2geom/pathvector.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-08-15 20:23:54 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-08-15 20:23:54 +0000
commit303f67444b402faaf8ebf9645de4b4362b31d35c (patch)
treed9e8550b6e4021a05d966690d4e02ec239b8784b /src/2geom/pathvector.h
parentEliminate more of SP_ACTIVE_DESKTOP (diff)
downloadinkscape-303f67444b402faaf8ebf9645de4b4362b31d35c.tar.gz
inkscape-303f67444b402faaf8ebf9645de4b4362b31d35c.zip
Update to 2geom rev. 1538
(bzr r6634)
Diffstat (limited to 'src/2geom/pathvector.h')
-rw-r--r--src/2geom/pathvector.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/2geom/pathvector.h b/src/2geom/pathvector.h
index 23843c52d..cec1c144a 100644
--- a/src/2geom/pathvector.h
+++ b/src/2geom/pathvector.h
@@ -87,6 +87,17 @@ PathVector operator+(PathVector const &path_in, Point const &p) {
return ret;
}
+inline
+Geom::Point initialPoint(PathVector const &path_in)
+{
+ return path_in.front().initialPoint();
+}
+
+inline
+Geom::Point finalPoint(PathVector const &path_in)
+{
+ return path_in.back().finalPoint();
+}
PathVector reverse_paths_and_order (PathVector const & path_in);