summaryrefslogtreecommitdiffstats
path: root/src/snapper.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-03-08 11:32:18 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-03-08 11:32:18 +0000
commit0a78ad638f3bbcd46631cb2c741fca031356b725 (patch)
treee7e0378939debb249a67c9e658bcef959b3b1a57 /src/snapper.h
parentmake the infobox narrower and place add button above it (diff)
downloadinkscape-0a78ad638f3bbcd46631cb2c741fca031356b725.tar.gz
inkscape-0a78ad638f3bbcd46631cb2c741fca031356b725.zip
Node tool: snap to paths and their nodes, incl. to the path currently being edited
(bzr r4989)
Diffstat (limited to 'src/snapper.h')
-rw-r--r--src/snapper.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/snapper.h b/src/snapper.h
index 8aeea0a26..63f68173a 100644
--- a/src/snapper.h
+++ b/src/snapper.h
@@ -68,13 +68,14 @@ public:
bool const &first_point,
std::vector<NR::Point> &points_to_snap,
SPItem const *it) const;
-
+
void freeSnap(SnappedConstraints &sc,
PointType const &t,
NR::Point const &p,
bool const &first_point,
std::vector<NR::Point> &points_to_snap,
- std::list<SPItem const *> const &it) const;
+ std::list<SPItem const *> const &it,
+ std::vector<NR::Point> *unselected_nodes) const;
class ConstraintLine
{
@@ -142,7 +143,8 @@ private:
NR::Point const &p,
bool const &first_point,
std::vector<NR::Point> &points_to_snap,
- std::list<SPItem const *> const &it) const = 0;
+ std::list<SPItem const *> const &it,
+ std::vector<NR::Point> *unselected_nodes) const = 0;
/**
* Try to snap a point to whatever this snapper is interested in, where