Trait Transformation
pub trait Transformation<S> {
// Required methods
fn transform_point(
&self,
p: Point2D<S, UnknownUnit>,
) -> Point2D<S, UnknownUnit>;
fn transform_vector(
&self,
v: Vector2D<S, UnknownUnit>,
) -> Vector2D<S, UnknownUnit>;
}
Available on crate feature
canvas
only.