pub type LayoutFastTransform = FastTransform<LayoutPixel, LayoutPixel>;

Aliased Type§

enum LayoutFastTransform {
    Offset(Vector2D<f32, LayoutPixel>),
    Transform {
        transform: Transform3D<f32, LayoutPixel, LayoutPixel>,
        inverse: Option<Transform3D<f32, LayoutPixel, LayoutPixel>>,
        is_2d: bool,
    },
}

Variants§

§

Offset(Vector2D<f32, LayoutPixel>)

A simple offset, which can be used without doing any matrix math.

§

Transform

A 2D transformation with an inverse.