pub trait Transform {
// Required methods
fn transform(&self, vec: &PointI32) -> PointI32;
fn transform_rect(&self, rect: &BoundingRect) -> BoundingRect;
}Expand description
Transformation of coordinate in space
pub trait Transform {
// Required methods
fn transform(&self, vec: &PointI32) -> PointI32;
fn transform_rect(&self, rect: &BoundingRect) -> BoundingRect;
}Transformation of coordinate in space