summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2geom/svg-path.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/2geom/svg-path.h b/src/2geom/svg-path.h
index 89192fb72..591eb3aa2 100644
--- a/src/2geom/svg-path.h
+++ b/src/2geom/svg-path.h
@@ -120,6 +120,14 @@ public:
large_arc, sweep, p);
}
+ void append(Path const &other, Path::Stitching stitching = Path::NO_STITCHING)
+ {
+ if (!_in_path) {
+ moveTo(other.initialPoint());
+ }
+ _path.append(other, stitching);
+ }
+
void closePath() {
_path.close();
finish();