diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2007-11-09 09:48:27 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2007-11-09 09:48:27 +0000 |
| commit | f45e886fef31d000e419216ecb8732b772876455 (patch) | |
| tree | 702d3fe9bb08797d3f43000fe84feb33cacfe4b9 /src/snap.cpp | |
| parent | refactoring, one MakeTweak method instead of a bunch largely similar methods (diff) | |
| download | inkscape-f45e886fef31d000e419216ecb8732b772876455.tar.gz inkscape-f45e886fef31d000e419216ecb8732b772876455.zip | |
Renaming classes: SnappedLine -> SnappedLineSegment, and SnappedInfiniteLine -> SnappedLine
(bzr r4048)
Diffstat (limited to 'src/snap.cpp')
| -rw-r--r-- | src/snap.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index d5ec91f86..4e4e04844 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -686,32 +686,32 @@ Inkscape::SnappedPoint SnapManager::findBestSnap(NR::Point const &p, SnappedCons } // search for the closest snapped grid line - Inkscape::SnappedInfiniteLine closestGridLine; - if (getClosestSIL(sc.grid_lines, closestGridLine)) { + Inkscape::SnappedLine closestGridLine; + if (getClosestSL(sc.grid_lines, closestGridLine)) { sp_list.push_back(std::make_pair(Inkscape::SnappedPoint(closestGridLine), NR_HUGE)); } // search for the closest snapped guide line - Inkscape::SnappedInfiniteLine closestGuideLine; - if (getClosestSIL(sc.guide_lines, closestGuideLine)) { + Inkscape::SnappedLine closestGuideLine; + if (getClosestSL(sc.guide_lines, closestGuideLine)) { sp_list.push_back(std::make_pair(Inkscape::SnappedPoint(closestGuideLine), NR_HUGE)); } // search for the closest snapped intersection of grid lines Inkscape::SnappedPoint closestGridPoint; - if (getClosestIntersectionSIL(sc.grid_lines, closestGridPoint)) { + if (getClosestIntersectionSL(sc.grid_lines, closestGridPoint)) { sp_list.push_back(std::make_pair(closestGridPoint, NR_HUGE)); } // search for the closest snapped intersection of guide lines Inkscape::SnappedPoint closestGuidePoint; - if (getClosestIntersectionSIL(sc.guide_lines, closestGuidePoint)) { + if (getClosestIntersectionSL(sc.guide_lines, closestGuidePoint)) { sp_list.push_back(std::make_pair(closestGuidePoint, NR_HUGE)); } // search for the closest snapped intersection of grid with guide lines Inkscape::SnappedPoint closestGridGuidePoint; - if (getClosestIntersectionSIL(sc.grid_lines, sc.guide_lines, closestGridGuidePoint)) { + if (getClosestIntersectionSL(sc.grid_lines, sc.guide_lines, closestGridGuidePoint)) { sp_list.push_back(std::make_pair(closestGridGuidePoint, std::min(guide_sens, grid_sens))); } |
