Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / display / sp-ctrlline.h
index c4368686f349b2016fad9ebf450f52e4a79bdbac..53d0d6ba0160e2962298cf0ce0f2a52a7756b3e7 100644 (file)
@@ -6,25 +6,27 @@
  *
  * Author:
  *   Lauris Kaplinski <lauris@kaplinski.com>
+ *   Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
  *
+ * Copyright (C) 2007 Johan Engelen
  * Copyright (C) 1999-2002 Lauris Kaplinski
  *
  * Released under GNU GPL
  */
 
 #include "sp-canvas.h"
-#include <livarot/Shape.h>
-
 
+struct SPItem;
 
 #define SP_TYPE_CTRLLINE (sp_ctrlline_get_type ())
 #define SP_CTRLLINE(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_CTRLLINE, SPCtrlLine))
 #define SP_IS_CTRLLINE(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_CTRLLINE))
 
 struct SPCtrlLine : public SPCanvasItem{
+    SPItem *item;  // the item to which this line belongs in some sense; may be NULL for some users
     guint32 rgba;
-    NRPoint s, e;
-    Shape* shp;
+    NR::Point s, e;
+    NR::Matrix affine;
 };
 struct SPCtrlLineClass : public SPCanvasItemClass{};