Code

1) snap midpoints of line segments (both as source and as target)
[inkscape.git] / src / ui / view / view.h
index e1d4e491f601bb38cde645774cf189e6fc92f13c..882746ceace7648d3901a6df565ce4815fbbeecf 100644 (file)
@@ -20,7 +20,8 @@
 #include "gc-managed.h"
 #include "gc-finalized.h"
 #include "gc-anchored.h"
-
+#include <libnr/nr-forward.h>
+#include <2geom/forward.h>
 
 /**
  * Iterates until true or returns false.
@@ -52,10 +53,6 @@ struct StopOnNonZero {
   }
 };
 
-
-namespace NR {
-    class Point;
-}
 class SPDocument;
 
 namespace Inkscape {
@@ -93,7 +90,7 @@ public:
       { return _tips_message_context; }
 
     void setPosition(gdouble x, gdouble y);
-    void setPosition(NR::Point const &p);
+    void setPosition(Geom::Point const &p);
     void emitResized(gdouble width, gdouble height);
     void requestRedraw();