Trait cosmic::iced_widget::canvas::path::lyon_path::geom::traits::Transformation
source · 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>;
}