Code

GSoC C++-ificiation merge and cleanup.
[inkscape.git] / src / draw-anchor.h
index 1036a5472d85b9e35099d2babe2cea8f84e7a6ca..4aa713b52345240b691010a0a22fb4b1e227b906 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, gboolean start,
-                                 NR::Point delta);
+                                 Geom::Point delta);
 SPDrawAnchor *sp_draw_anchor_destroy(SPDrawAnchor *anchor);
-SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, NR::Point w, gboolean activate);
+SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, Geom::Point w, gboolean activate);
 
 
 #endif /* !SEEN_DRAW_ANCHOR_H */
@@ -41,4 +41,4 @@ SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, NR::Point w, gboolean ac
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :