summaryrefslogtreecommitdiffstats
path: root/src/2geom/path.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2015-05-09 15:23:25 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2015-05-09 15:23:25 +0000
commit6d9c35c80d9cabfe44682ecfa724bd0d517c56f4 (patch)
tree777d318fe9153e0c24abef521f3c44af66234ab3 /src/2geom/path.h
parentMerge from trunk (diff)
downloadinkscape-6d9c35c80d9cabfe44682ecfa724bd0d517c56f4.tar.gz
inkscape-6d9c35c80d9cabfe44682ecfa724bd0d517c56f4.zip
Fix eraser tool
(bzr r14059.2.12)
Diffstat (limited to 'src/2geom/path.h')
-rw-r--r--src/2geom/path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/2geom/path.h b/src/2geom/path.h
index 58afcfd8d..5a172f598 100644
--- a/src/2geom/path.h
+++ b/src/2geom/path.h
@@ -371,6 +371,9 @@ public:
_curves->push_back(_closing_seg);
}
+ /// Construct a path from a rectangle.
+ Path(Rect const &r);
+
/// Construct a path from a convex hull.
Path(ConvexHull const &);