diff --git a/src/snap.h b/src/snap.h
index 613550376aca3d485f3f33536631358494aa2d51..8a5688bea19473c3df511a46e3ca615c676c1440 100644 (file)
--- a/src/snap.h
+++ b/src/snap.h
void preSnap(Inkscape::SnapCandidatePoint const &p);
- Geom::Point multipleOfGridPitch(Geom::Point const &t) const;
+ Geom::Point multipleOfGridPitch(Geom::Point const &t, Geom::Point const &origin);
// constrainedSnapReturnByRef() is preferred over constrainedSnap(), because it only returns a
// point, by overwriting p, if snapping has occurred; otherwise p is untouched
bool getSnapIndicator() const {return _snapindicator;}
- Inkscape::SnappedPoint findBestSnap(Inkscape::SnapCandidatePoint const &p, SnappedConstraints const &sc, bool constrained, bool noCurves = false) const;
+ Inkscape::SnappedPoint findBestSnap(Inkscape::SnapCandidatePoint const &p, SnappedConstraints const &sc, bool constrained, bool noCurves = false, bool allowOffScreen = false) const;
protected:
SPNamedView const *_named_view;