From 372bdb51e46c6547bf46e644ed20fd66bb07c76f Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Fri, 15 Aug 2008 20:26:58 +0000 Subject: Use new methods from 2geom's API (bzr r6635) --- src/snapped-curve.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/snapped-curve.cpp') diff --git a/src/snapped-curve.cpp b/src/snapped-curve.cpp index 17d417d40..dfed84531 100644 --- a/src/snapped-curve.cpp +++ b/src/snapped-curve.cpp @@ -55,8 +55,7 @@ Inkscape::SnappedPoint Inkscape::SnappedCurve::intersect(SnappedCurve const &cur // The point of intersection should be considered for snapping, but might be outside the snapping range // PS: We need p (the location of the mouse pointer) for find out which intersection is the // closest, as there might be multiple intersections of two curves - Geom::SimpleCrosser xr; - Geom::Crossings cs = xr.crossings(*(this->_curve), *(curve._curve)); + Geom::Crossings cs = crossings(*(this->_curve), *(curve._curve)); if (cs.size() > 0) { // There might be multiple intersections: find the closest -- cgit v1.2.3