[][src]Type Definition graphics::math::Matrix2d

type Matrix2d<T = Scalar> = Matrix2x3<T>;

The type used for matrices.

Trait Implementations

impl Transformed for Matrix2d[src]

fn rot_deg(self, angle: Scalar) -> Self[src]

Rotates degrees in local coordinates.

fn trans_pos<P: Into<Vec2d>>(self, pos: P) -> Self[src]

Translate position in local coordinates.

fn orient_pos<P: Into<Vec2d>>(self, pos: P) -> Self[src]

Orients x axis to look at point locally.

fn scale_pos<P: Into<Vec2d>>(self, pos: P) -> Self[src]

Scales in local coordinates.

fn zoom(self, s: Scalar) -> Self[src]

Scales in both directions in local coordinates.

fn flip_v(self) -> Self[src]

Flips vertically in local coordinates.

fn flip_h(self) -> Self[src]

Flips horizontally in local coordinates.

fn flip_hv(self) -> Self[src]

Flips horizontally and vertically in local coordinates.

fn shear_pos<P: Into<Vec2d>>(self, pos: P) -> Self[src]

Shears in local coordinates.