Code

Groundwork to snap to intersections, e.g. intersections of gridlines with guidelines...
[inkscape.git] / src / guide-snapper.h
index 15f484711623325a6477b54ddb028db6c3154dd6..0605bdb97daad193fa0b06294e27df2477f36645 100644 (file)
@@ -28,12 +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;
 };
 
 }