From 8ed66ab7cb377ed90e3213fc3bba8e5bb0c63a11 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sat, 3 Nov 2007 18:11:46 +0000 Subject: Oops, don't use tabs! (replace tabs by 4 spaces) (bzr r4020) --- src/line-snapper.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/line-snapper.cpp') diff --git a/src/line-snapper.cpp b/src/line-snapper.cpp index 3b91fb015..f8efbed49 100644 --- a/src/line-snapper.cpp +++ b/src/line-snapper.cpp @@ -10,10 +10,10 @@ Inkscape::LineSnapper::LineSnapper(SPNamedView const *nv, NR::Coord const d) : S } void Inkscape::LineSnapper::_doFreeSnap(SnappedConstraints &sc, - Inkscape::Snapper::PointType const &t, - NR::Point const &p, - bool const &f, - std::vector &points_to_snap, + Inkscape::Snapper::PointType const &t, + NR::Point const &p, + bool const &f, + std::vector &points_to_snap, std::list const &it) const { /* Snap along x (i.e. to vertical lines) */ @@ -24,11 +24,11 @@ void Inkscape::LineSnapper::_doFreeSnap(SnappedConstraints &sc, } void Inkscape::LineSnapper::_doConstrainedSnap(SnappedConstraints &sc, - Inkscape::Snapper::PointType const &t, - NR::Point const &p, + Inkscape::Snapper::PointType const &t, + NR::Point const &p, bool const &f, - std::vector &points_to_snap, - ConstraintLine const &c, + std::vector &points_to_snap, + ConstraintLine const &c, std::list const &it) const { @@ -50,7 +50,7 @@ void Inkscape::LineSnapper::_doConstrainedSnap(SnappedConstraints &sc, /* Try to intersect this line with the target line */ NR::Point t = NR::Point(NR_HUGE, NR_HUGE); IntersectorKind const k = intersector_line_intersection(n, q, component_vectors[i->first], i->second, t); - + if (k == INTERSECTS) { const NR::Coord dist = L2(t - p); //Store any line that's within snapping range -- cgit v1.2.3