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

/inkscape/src/live_effects/
H A Dlpe-mirror_symmetry.cpp188 double hyp = Geom::distance(point_a, point_b); local
189 double c = (point_b[0] - point_a[0]) / hyp; // cos(alpha)
190 double s = (point_b[1] - point_a[1]) / hyp; // sin(alpha)
H A Dlpe-copy_rotate.cpp242 double hyp = Geom::distance(A, B); local
243 double c = (B[0] - A[0]) / hyp; // cos(alpha)
244 double s = (B[1] - A[1]) / hyp; // sin(alpha)

Completed in 17 milliseconds