Searched defs:use_this_as_primary (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/
H A Dsnapped-curve.cpp94 bool const use_this_as_primary = _distance < curve.getSnapDistance(); local
95 Inkscape::SnappedCurve const *primaryC = use_this_as_primary ? this : &curve;
96 Inkscape::SnappedCurve const *secondaryC = use_this_as_primary ? &curve : this;
101 Geom::Coord primaryDist = use_this_as_primary ? Geom::L2(best_p - this->getPoint()) : Geom::L2(best_p - curve.getPoint());
102 Geom::Coord secondaryDist = use_this_as_primary ? Geom::L2(best_p - curve.getPoint()) : Geom::L2(best_p - this->getPoint());

Completed in 11 milliseconds