diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-05-18 14:09:46 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-05-18 14:09:46 +0000 |
| commit | e37b51c1e3bc642a4f8618085b649f1cc013e6bb (patch) | |
| tree | b22a2a7ee09dc440f60a4083dae1162bac7c4aad /src/2geom/path.h | |
| parent | add SVG Output preferences (diff) | |
| download | inkscape-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.h | 7 |
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) { |
