Code

Refactor snapping of gradient handles; now behaves like all other snapping, i.e....
[inkscape.git] / src / snap.h
index a3e463092cc4f8b1ddd570257db0c6073a9dd0df..413b753d125d6f14f24b5725fb69f9bc7ee55697 100644 (file)
@@ -167,6 +167,8 @@ public:
 
     bool getSnapIndicator() const {return _snapindicator;}
 
+    Inkscape::SnappedPoint findBestSnap(Geom::Point const &p, Inkscape::SnapSourceType const source_type, SnappedConstraints &sc, bool constrained, bool noCurves = false) const;
+
 protected:
     SPNamedView const *_named_view;
 
@@ -200,8 +202,6 @@ private:
                                             bool const uniform) const;
 
     void _displaySnapsource(Inkscape::SnapPreferences::PointType point_type, std::pair<Geom::Point, int> const &p) const;
-
-    Inkscape::SnappedPoint findBestSnap(Geom::Point const &p, Inkscape::SnapSourceType const source_type, SnappedConstraints &sc, bool constrained, bool noCurves = false) const;
 };
 
 #endif /* !SEEN_SNAP_H */