Code

a bunch of small changes to provide a user readable explanation of filters
[inkscape.git] / src / guide-snapper.h
index f4c7b2de711de71723b4749fb4585d2beeb234a7..0605bdb97daad193fa0b06294e27df2477f36645 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "libnr/nr-forward.h"
 #include "libnr/nr-coord.h"
-#include "snapper.h"
+#include "line-snapper.h"
 
 struct SPNamedView;
 
@@ -28,10 +28,12 @@ namespace Inkscape
 class GuideSnapper : public LineSnapper
 {
 public:
-    GuideSnapper(SPNamedView const *nv, NR::Coord const d);
+    GuideSnapper(SPNamedView const *nv, NR::Coord const d);    
+    bool ThisSnapperMightSnap() const;
 
 private:
-    LineList _getSnapLines(NR::Point const &p) const;
+    LineList _getSnapLines(NR::Point const &p) const;    
+    void _addSnappedLine(SnappedConstraints &sc, NR::Point const snapped_point, NR::Coord const snapped_distance, NR::Point const normal_to_line, NR::Point const point_on_line) const;
 };
 
 }