From fc192305a5194959167fce74e6ff0ff9f11447cf Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Wed, 5 Sep 2007 20:16:30 +0000 Subject: Improving the performance of the object snapper (bzr r3689) --- src/line-snapper.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/line-snapper.h') diff --git a/src/line-snapper.h b/src/line-snapper.h index f6b467520..5d93c858e 100644 --- a/src/line-snapper.h +++ b/src/line-snapper.h @@ -27,11 +27,15 @@ protected: private: SnappedPoint _doFreeSnap(Inkscape::Snapper::PointType const &t, NR::Point const &p, - std::list const &it) const; + bool const &first_point, + std::vector &points_to_snap, + std::list const &it) const; SnappedPoint _doConstrainedSnap(Inkscape::Snapper::PointType const &t, NR::Point const &p, - ConstraintLine const &c, + bool const &first_point, + std::vector &points_to_snap, + ConstraintLine const &c, std::list const &it) const; /** -- cgit v1.2.3