Struct direct2d::math::Matrix3x2F
[−]
[src]
#[repr(C)]pub struct Matrix3x2F(pub D2D1_MATRIX_3X2_F);
Methods
impl Matrix3x2F
[src]
fn new(data: [[f32; 2]; 3]) -> Matrix3x2F
fn identity() -> Matrix3x2F
fn translation(v: Vector2F) -> Matrix3x2F
fn translate_to(p: Point2F) -> Matrix3x2F
fn scale(scale: SizeF, center: Point2F) -> Matrix3x2F
fn rotation(angle: f32, center: Point2F) -> Matrix3x2F
fn skew(angle_x: f32, angle_y: f32, center: Point2F) -> Matrix3x2F
fn determinant(&self) -> f32
fn is_invertible(&self) -> bool
fn invert(&self) -> Option<Matrix3x2F>
fn is_identity(&self) -> bool
Trait Implementations
impl Copy for Matrix3x2F
[src]
impl Clone for Matrix3x2F
[src]
fn clone(&self) -> Matrix3x2F
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Matrix3x2F
[src]
impl Deref for Matrix3x2F
[src]
type Target = D2D1_MATRIX_3X2_F
The resulting type after dereferencing
fn deref(&self) -> &D2D1_MATRIX_3X2_F
The method called to dereference a value
impl DerefMut for Matrix3x2F
[src]
fn deref_mut(&mut self) -> &mut D2D1_MATRIX_3X2_F
The method called to mutably dereference a value
impl Mul for Matrix3x2F
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, rhs: Matrix3x2F) -> Matrix3x2F
The method for the *
operator