Searched refs:norm_p (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/
H A Dsnapped-point.cpp184 double const norm_p = std::min(dist_pointer_this, dist_pointer_other) + 1; local
185 // make sure norm_p is never too close to zero (e.g. when snapping the bbox-corner that was grabbed), by incr. with 1
188 dist_other = w * dist_pointer_other / norm_p + (1-w) * dist_other / norm_t_other;
189 dist_this = w * dist_pointer_this / norm_p + (1-w) * dist_this / norm_t_this;

Completed in 15 milliseconds