From cf7f6d596f7aec4b2775428db2196613de4feb7d Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 21 May 2012 15:59:02 +0200 Subject: Added sp-ctrlcurve, usefull for meshes. (bzr r11395) --- src/ui/control-manager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/control-manager.h') diff --git a/src/ui/control-manager.h b/src/ui/control-manager.h index 4abb03e43..05a53f6a0 100644 --- a/src/ui/control-manager.h +++ b/src/ui/control-manager.h @@ -19,6 +19,7 @@ struct SPCanvasGroup; struct SPCanvasItem; struct SPCtrlLine; +struct SPCtrlCurve; namespace Geom { @@ -54,6 +55,8 @@ public: SPCtrlLine *createControlLine(SPCanvasGroup *parent, Geom::Point const &p1, Geom::Point const &p2, CtrlLineType type = CTLINE_PRIMARY); + SPCtrlCurve *createControlCurve(SPCanvasGroup *parent, Geom::Point const &p0, Geom::Point const &p1, Geom::Point const &p2, Geom::Point const &p3, CtrlLineType type = CTLINE_PRIMARY); + void track(SPCanvasItem *item); void updateItem(SPCanvasItem *item); -- cgit v1.2.3