summaryrefslogtreecommitdiffstats
path: root/src/line-snapper.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-09-05 20:16:30 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-09-05 20:16:30 +0000
commitfc192305a5194959167fce74e6ff0ff9f11447cf (patch)
tree98627181b625f5458c56c2a4bea9a06e82546fd9 /src/line-snapper.h
parentagain increase default pressure a bit (diff)
downloadinkscape-fc192305a5194959167fce74e6ff0ff9f11447cf.tar.gz
inkscape-fc192305a5194959167fce74e6ff0ff9f11447cf.zip
Improving the performance of the object snapper
(bzr r3689)
Diffstat (limited to 'src/line-snapper.h')
-rw-r--r--src/line-snapper.h8
1 files changed, 6 insertions, 2 deletions
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<SPItem const *> const &it) const;
+ bool const &first_point,
+ std::vector<NR::Point> &points_to_snap,
+ std::list<SPItem const *> const &it) const;
SnappedPoint _doConstrainedSnap(Inkscape::Snapper::PointType const &t,
NR::Point const &p,
- ConstraintLine const &c,
+ bool const &first_point,
+ std::vector<NR::Point> &points_to_snap,
+ ConstraintLine const &c,
std::list<SPItem const *> const &it) const;
/**