summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/display/drawing-context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display/drawing-context.h b/src/display/drawing-context.h
index d990bcb73..0d82087c3 100644
--- a/src/display/drawing-context.h
+++ b/src/display/drawing-context.h
@@ -61,6 +61,7 @@ public:
cairo_curve_to(_ct, p1[Geom::X], p1[Geom::Y], p2[Geom::X], p2[Geom::Y], p3[Geom::X], p3[Geom::Y]);
}
void arc(Geom::Point const &center, double radius, Geom::AngleInterval const &angle);
+ void closePath() { cairo_close_path(_ct); }
void rectangle(Geom::Rect const &r) {
cairo_rectangle(_ct, r.left(), r.top(), r.width(), r.height());
}