Function unit_to_line

Source
fn unit_to_line(p0: Point, p1: Point) -> Affine
Expand description

Calculate the transform necessary to map the unit vector to the line spanned by the points p1 and p2.