Struct adi_screen::Transform [] [src]

pub struct Transform(_);

Transform represents a transformation matrix.

Methods

impl Transform
[src]

[src]

Create a transform that does nothing. ( Underneath, this is an identity matrix ).

[src]

Translate self by x, y and z.

[src]

Scale self by x, y and z.

[src]

Rotate self by yaw, pitch and roll.

[src]

Multiply by a projection that scales width and height by the smallest widget size. The widget is put at position pos. Position isn't affected by aspect ratio.

[src]

Apply a TransformApply onto instance i of Sprite.

Trait Implementations

Auto Trait Implementations

impl Send for Transform

impl Sync for Transform