summaryrefslogtreecommitdiffstats
path: root/src/snap.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/snap.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/snap.h')
-rw-r--r--src/snap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/snap.h b/src/snap.h
index 276069fe6..cdd707d01 100644
--- a/src/snap.h
+++ b/src/snap.h
@@ -50,10 +50,14 @@ public:
Inkscape::SnappedPoint freeSnap(Inkscape::Snapper::PointType t,
NR::Point const &p,
+ bool const &first_point,
+ std::vector<NR::Point> &points_to_snap,
std::list<SPItem const *> const &it) const;
Inkscape::SnappedPoint freeSnap( Inkscape::Snapper::PointType t,
NR::Point const &p,
+ bool const &first_point,
+ std::vector<NR::Point> &points_to_snap,
std::list<SPItem const *> const &it,
SnapperList const &snappers ) const;
@@ -74,6 +78,8 @@ public:
Inkscape::SnappedPoint constrainedSnap(Inkscape::Snapper::PointType t,
NR::Point const &p,
+ bool const &first_point,
+ std::vector<NR::Point> &points_to_snap,
Inkscape::Snapper::ConstraintLine const &c,
std::list<SPItem const *> const &it) const;