summaryrefslogtreecommitdiffstats
path: root/src/snapper.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-03-25 22:12:45 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-03-25 22:12:45 +0000
commit8a5bebb2b8946eee675c7fee4f7448d5d42e71b6 (patch)
tree52a6480eccdb74cdaca13d88e7f6fc5528be3b71 /src/snapper.cpp
parentwhitespace. tab to spaces. improve readability (diff)
downloadinkscape-8a5bebb2b8946eee675c7fee4f7448d5d42e71b6.tar.gz
inkscape-8a5bebb2b8946eee675c7fee4f7448d5d42e71b6.zip
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)
Diffstat (limited to 'src/snapper.cpp')
-rw-r--r--src/snapper.cpp8
1 files changed, 3 insertions, 5 deletions
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<NR::Point> &points_to_snap,
+ std::vector<NR::Point> &points_to_snap,
ConstraintLine const &c,
SPItem const *it) const
{