pub struct D2DMatrix {
pub matrix: Matrix3x2,
}
Fields§
§matrix: Matrix3x2
Trait Implementations§
Source§impl MatrixBackend for D2DMatrix
impl MatrixBackend for D2DMatrix
fn identity() -> Self
fn from_row( scx: Float, sky: Float, skx: Float, scy: Float, tx: Float, ty: Float, ) -> Self
fn from_translate(x: Float, y: Float) -> Self
fn from_scale(x: Float, y: Float) -> Self
fn from_rotate(angle: Float) -> Self
fn pre_rotate(&mut self, angle: Float)
fn pre_scale(&mut self, x: Float, y: Float)
fn pre_translate(&mut self, x: Float, y: Float)
fn post_rotate(&mut self, angle: Float)
fn post_scale(&mut self, x: Float, y: Float)
fn post_translate(&mut self, x: Float, y: Float)
fn map_rect(&self, rect: FRect) -> FRect
impl StructuralPartialEq for D2DMatrix
Auto Trait Implementations§
impl Freeze for D2DMatrix
impl RefUnwindSafe for D2DMatrix
impl Send for D2DMatrix
impl Sync for D2DMatrix
impl Unpin for D2DMatrix
impl UnwindSafe for D2DMatrix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more