Code

snap indicator: try a diamond shaped indicator for snapping to nodes. see how we...
[inkscape.git] / src / draw-anchor.h
index 3662451a6023f886647833826e4dc24b67e57b8f..0277616846a450278e7ad12b10e4838a773f497e 100644 (file)
@@ -6,8 +6,8 @@
  */
 
 #include <glib/gtypes.h>
+#include <2geom/point.h>
 
-#include "libnr/nr-point.h"
 struct SPDrawContext;
 struct SPCurve;
 struct SPCanvasItem;
@@ -19,15 +19,15 @@ struct SPDrawAnchor {
     SPCurve *curve;
     guint start : 1;
     guint active : 1;
-    NR::Point dp;
+    Geom::Point dp;
     SPCanvasItem *ctrl;
 };
 
 
-SPDrawAnchor *sp_draw_anchor_new(SPDrawContext *dc, SPCurve *curve, bool start,
-                                 NR::Point delta);
+SPDrawAnchor *sp_draw_anchor_new(SPDrawContext *dc, SPCurve *curve, gboolean start,
+                                 Geom::Point delta);
 SPDrawAnchor *sp_draw_anchor_destroy(SPDrawAnchor *anchor);
-SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, NR::Point w, bool activate);
+SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, Geom::Point w, gboolean activate);
 
 
 #endif /* !SEEN_DRAW_ANCHOR_H */