summaryrefslogtreecommitdiffstats
path: root/src/2geom/path.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-05-18 14:09:46 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-05-18 14:09:46 +0000
commite37b51c1e3bc642a4f8618085b649f1cc013e6bb (patch)
treeb22a2a7ee09dc440f60a4083dae1162bac7c4aad /src/2geom/path.h
parentadd SVG Output preferences (diff)
downloadinkscape-e37b51c1e3bc642a4f8618085b649f1cc013e6bb.tar.gz
inkscape-e37b51c1e3bc642a4f8618085b649f1cc013e6bb.zip
update to latest 2geom
(bzr r5689)
Diffstat (limited to 'src/2geom/path.h')
-rw-r--r--src/2geom/path.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/2geom/path.h b/src/2geom/path.h
index ed15260fc..0493b4a59 100644
--- a/src/2geom/path.h
+++ b/src/2geom/path.h
@@ -714,6 +714,7 @@ public:
ret.append(*temp);
delete temp;
}
+ ret.closed_ = closed_;
return ret;
}
@@ -844,6 +845,11 @@ public:
do_update(first.impl_, last.impl_, curves_.begin(), curves_.begin());
}
+ // erase last segment of path
+ void erase_last() {
+ erase(curves_.end()-2);
+ }
+
void replace(iterator replaced, Curve const &curve) {
Sequence source(1, curve.duplicate());
try {
@@ -906,6 +912,7 @@ public:
void append(Curve const &curve);
void append(D2<SBasis> const &curve);
+ void append(Path const &other);
template <typename CurveType, typename A>
void appendNew(A a) {