summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object-snapper.h')
-rw-r--r--src/object-snapper.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/object-snapper.h b/src/object-snapper.h
index 4785ca431..b3bf481ad 100644
--- a/src/object-snapper.h
+++ b/src/object-snapper.h
@@ -77,8 +77,9 @@ public:
_strict_snapping = enabled;
}
- SnappedPoint guideSnap(NR::Point const &p,
- DimensionToSnap const snap_dim) const;
+ void guideSnap(SnappedConstraints &sc,
+ NR::Point const &p,
+ DimensionToSnap const snap_dim) const;
bool ThisSnapperMightSnap() const;
@@ -108,14 +109,14 @@ private:
std::vector<NR::Point> &points_to_snap,
DimensionToSnap const snap_dim) const;
- bool _snapNodes(Inkscape::Snapper::PointType const &t,
- Inkscape::SnappedPoint &s,
+ void _snapNodes(SnappedConstraints &sc,
+ Inkscape::Snapper::PointType const &t,
NR::Point const &p,
bool const &first_point,
DimensionToSnap const snap_dim) const;
- bool _snapPaths(Inkscape::Snapper::PointType const &t,
- Inkscape::SnappedPoint &s,
+ void _snapPaths(SnappedConstraints &sc,
+ Inkscape::Snapper::PointType const &t,
NR::Point const &p,
bool const &first_point) const;