From 8a5bebb2b8946eee675c7fee4f7448d5d42e71b6 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Tue, 25 Mar 2008 22:12:45 +0000 Subject: Major overhaul of the selector tool's internals to improve handling of transformations, origins and snapping, for both visual and geometric bounding boxes (see for example bug #174046 in Launchpad) (bzr r5189) --- src/snapper.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/snapper.cpp') diff --git a/src/snapper.cpp b/src/snapper.cpp index f8f7705f2..31a96a871 100644 --- a/src/snapper.cpp +++ b/src/snapper.cpp @@ -123,8 +123,7 @@ void Inkscape::Snapper::freeSnap(SnappedConstraints &sc, * \return Snapped point. */ -void Inkscape::Snapper::freeSnap(SnappedConstraints &sc, - +void Inkscape::Snapper::freeSnap(SnappedConstraints &sc, PointType const &t, NR::Point const &p, bool const &first_point, @@ -153,12 +152,11 @@ void Inkscape::Snapper::freeSnap(SnappedConstraints &sc, * \return Snapped point. */ -void Inkscape::Snapper::constrainedSnap(SnappedConstraints &sc, - +void Inkscape::Snapper::constrainedSnap(SnappedConstraints &sc, PointType const &t, NR::Point const &p, bool const &first_point, - std::vector &points_to_snap, + std::vector &points_to_snap, ConstraintLine const &c, SPItem const *it) const { -- cgit v1.2.3