summaryrefslogtreecommitdiffstats
path: root/src/snap.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2010-01-01 20:06:51 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2010-01-01 20:06:51 +0000
commit1feb29aa4b344392000609e310433015454bd626 (patch)
treef1b2e69b151104c0031fc711d0d8cc8caf13359d /src/snap.h
parentadding 'inductiveload' to AUTHORS (diff)
downloadinkscape-1feb29aa4b344392000609e310433015454bd626.tar.gz
inkscape-1feb29aa4b344392000609e310433015454bd626.zip
Refactor snapping of gradient handles; now behaves like all other snapping, i.e. no more snapping to imaginary infinite lines along the bounding box
Fixed bugs: - https://launchpad.net/bugs/371001 (bzr r8932)
Diffstat (limited to 'src/snap.h')
-rw-r--r--src/snap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snap.h b/src/snap.h
index a3e463092..413b753d1 100644
--- a/src/snap.h
+++ b/src/snap.h
@@ -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 */