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

/inkscape/src/ui/tool/
H A Dnode.cpp768 double len_next = vec_next.length(), len_prev = vec_prev.length(); local
769 if (len_next > 0 && len_prev > 0) {
772 Geom::Point dir = Geom::unit_vector((len_prev / len_next) * vec_next - vec_prev);
774 _back.setRelativePos(-dir * (len_prev / 3));
876 double len_next = vec_next.length(), len_prev = vec_prev.length(); local
877 double len = (len_next + len_prev) / 6; // take 1/3 of average
880 Geom::Point dir = Geom::unit_vector((len_prev / len_next) * vec_next - vec_prev);

Completed in 52 milliseconds