summaryrefslogtreecommitdiffstats
path: root/src/2geom/path.h
diff options
context:
space:
mode:
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 &);