Struct iui::draw::Transform[][src]

pub struct Transform { /* fields omitted */ }

A transformation which can be applied to the contents of a DrawContext.

Methods

impl Transform
[src]

Create a Transform from an existing raw uiDrawMatrix.

Create a new Transform that does nothing.

Modify this Transform to translate by the given amounts.

Modify this Transform to scale by the given amounts from the given center.

Modify this Transform to rotate around the given center by the given angle.

Modify this Transform to skew from the given point by the given amount.

Compose this Transform with another, creating a Transform which represents both operations.

Returns true if inverting this Transform is possible.

Attempts to invert the Transform, returning true if it succeeded and false if it failed.

Trait Implementations

impl Copy for Transform
[src]

impl Clone for Transform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Transform
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Transform
[src]

Formats the value using the given formatter. Read more

impl Mul<Transform> for Transform
[src]

The resulting type after applying the * operator.

Performs the * operation.

Auto Trait Implementations

impl Send for Transform

impl Sync for Transform