Code

now that selection description includes style (filtered, clipped), we need to update...
[inkscape.git] / src / guide-snapper.h
index f36d03499605ed7b0c3ce75ca2e3e085dd3e9a3b..dd55816541a3c773da49ff0b5a8f2eb6a59323a0 100644 (file)
@@ -31,6 +31,9 @@ public:
     GuideSnapper(SnapManager *sm, Geom::Coord const d);
     bool ThisSnapperMightSnap() const;
 
+    Geom::Coord getSnapperTolerance() const; //returns the tolerance of the snapper in screen pixels (i.e. independent of zoom)
+       bool getSnapperAlwaysSnap() const; //if true, then the snapper will always snap, regardless of its tolerance
+
 private:
     LineList _getSnapLines(Geom::Point const &p) const;
     void _addSnappedLine(SnappedConstraints &sc, Geom::Point const snapped_point, Geom::Coord const snapped_distance, Geom::Point const normal_to_line, Geom::Point const point_on_line) const;