diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-05-11 08:21:34 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-05-11 08:21:34 +0000 |
| commit | c67d303b14e0f76754bff98cbde85368d19a4644 (patch) | |
| tree | 05259fee9d42a97a5c317008d255a0e71f6cc0ef /src | |
| parent | Style rewrite: 'text-decoration' requires access to style of ancestor element... (diff) | |
| download | inkscape-c67d303b14e0f76754bff98cbde85368d19a4644.tar.gz inkscape-c67d303b14e0f76754bff98cbde85368d19a4644.zip | |
Add closePath().
(bzr r13349)
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/drawing-context.h | 1 |
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 ¢er, 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()); } |
