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]

[src]

Create a Transform from an existing raw uiDrawMatrix.

[src]

Create a new Transform that does nothing.

[src]

Modify this Transform to translate by the given amounts.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Returns true if inverting this Transform is possible.

[src]

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

[src]

[src]

[src]

Trait Implementations

impl Copy for Transform
[src]

impl Clone for Transform
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Transform
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Transform
[src]

[src]

Formats the value using the given formatter. Read more

impl Mul<Transform> for Transform
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

Auto Trait Implementations

impl Send for Transform

impl Sync for Transform