Lines Matching defs:no_snap
229 Inkscape::SnappedPoint no_snap = Inkscape::SnappedPoint(pp, p.getSourceType(), p.getSourceNum(), Inkscape::SNAPTARGET_CONSTRAINT, Geom::infinity(), 0, false, true, false);
233 return no_snap;
236 Inkscape::SnappedPoint result = no_snap;
254 return no_snap;
273 return no_snap;
292 Inkscape::SnappedPoint no_snap = Inkscape::SnappedPoint(p.getPoint(), p.getSourceType(), p.getSourceNum(), Inkscape::SNAPTARGET_CONSTRAINT, Geom::infinity(), 0, false, true, false);
294 return no_snap;
310 no_snap.setPoint(projections.front());
316 if (Geom::L2(*pp - p.getPoint()) < Geom::L2(no_snap.getPoint() - p.getPoint())) {
317 no_snap.setPoint(*pp); // Remember the projection onto the closest constraint
324 return no_snap;
332 Inkscape::SnappedPoint result = no_snap;
349 return result.getSnapped() ? result : no_snap;