summaryrefslogtreecommitdiffstats
path: root/src/snapped-curve.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-08-15 20:26:58 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-08-15 20:26:58 +0000
commit372bdb51e46c6547bf46e644ed20fd66bb07c76f (patch)
tree0a4d91d1e991337e5ddeea688557b6fdd79f7a2a /src/snapped-curve.cpp
parentUpdate to 2geom rev. 1538 (diff)
downloadinkscape-372bdb51e46c6547bf46e644ed20fd66bb07c76f.tar.gz
inkscape-372bdb51e46c6547bf46e644ed20fd66bb07c76f.zip
Use new methods from 2geom's API
(bzr r6635)
Diffstat (limited to 'src/snapped-curve.cpp')
-rw-r--r--src/snapped-curve.cpp3
1 files changed, 1 insertions, 2 deletions
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