[−][src]Struct skia_bindings::SkMatrix44
Fields
fMat: [[SkMScalar; 4]; 4]
fTypeMask: SkMatrix44_TypeMask
Methods
impl SkMatrix44
[src]
pub unsafe fn I() -> *const SkMatrix44
[src]
pub unsafe fn setIdentity(&mut self)
[src]
pub unsafe fn asColMajorf(&self, arg1: *mut f32)
[src]
pub unsafe fn asColMajord(&self, arg1: *mut f64)
[src]
pub unsafe fn asRowMajorf(&self, arg1: *mut f32)
[src]
pub unsafe fn asRowMajord(&self, arg1: *mut f64)
[src]
pub unsafe fn setColMajorf(&mut self, arg1: *const f32)
[src]
pub unsafe fn setColMajord(&mut self, arg1: *const f64)
[src]
pub unsafe fn setRowMajorf(&mut self, arg1: *const f32)
[src]
pub unsafe fn setRowMajord(&mut self, arg1: *const f64)
[src]
pub unsafe fn set3x3(
&mut self,
m_00: SkMScalar,
m_10: SkMScalar,
m_20: SkMScalar,
m_01: SkMScalar,
m_11: SkMScalar,
m_21: SkMScalar,
m_02: SkMScalar,
m_12: SkMScalar,
m_22: SkMScalar
)
[src]
&mut self,
m_00: SkMScalar,
m_10: SkMScalar,
m_20: SkMScalar,
m_01: SkMScalar,
m_11: SkMScalar,
m_21: SkMScalar,
m_02: SkMScalar,
m_12: SkMScalar,
m_22: SkMScalar
)
pub unsafe fn set3x3RowMajorf(&mut self, arg1: *const f32)
[src]
pub unsafe fn set4x4(
&mut self,
m_00: SkMScalar,
m_10: SkMScalar,
m_20: SkMScalar,
m_30: SkMScalar,
m_01: SkMScalar,
m_11: SkMScalar,
m_21: SkMScalar,
m_31: SkMScalar,
m_02: SkMScalar,
m_12: SkMScalar,
m_22: SkMScalar,
m_32: SkMScalar,
m_03: SkMScalar,
m_13: SkMScalar,
m_23: SkMScalar,
m_33: SkMScalar
)
[src]
&mut self,
m_00: SkMScalar,
m_10: SkMScalar,
m_20: SkMScalar,
m_30: SkMScalar,
m_01: SkMScalar,
m_11: SkMScalar,
m_21: SkMScalar,
m_31: SkMScalar,
m_02: SkMScalar,
m_12: SkMScalar,
m_22: SkMScalar,
m_32: SkMScalar,
m_03: SkMScalar,
m_13: SkMScalar,
m_23: SkMScalar,
m_33: SkMScalar
)
pub unsafe fn setTranslate(
&mut self,
dx: SkMScalar,
dy: SkMScalar,
dz: SkMScalar
)
[src]
&mut self,
dx: SkMScalar,
dy: SkMScalar,
dz: SkMScalar
)
pub unsafe fn preTranslate(
&mut self,
dx: SkMScalar,
dy: SkMScalar,
dz: SkMScalar
)
[src]
&mut self,
dx: SkMScalar,
dy: SkMScalar,
dz: SkMScalar
)
pub unsafe fn postTranslate(
&mut self,
dx: SkMScalar,
dy: SkMScalar,
dz: SkMScalar
)
[src]
&mut self,
dx: SkMScalar,
dy: SkMScalar,
dz: SkMScalar
)
pub unsafe fn setScale(&mut self, sx: SkMScalar, sy: SkMScalar, sz: SkMScalar)
[src]
pub unsafe fn preScale(&mut self, sx: SkMScalar, sy: SkMScalar, sz: SkMScalar)
[src]
pub unsafe fn postScale(&mut self, sx: SkMScalar, sy: SkMScalar, sz: SkMScalar)
[src]
pub unsafe fn setRotateAbout(
&mut self,
x: SkMScalar,
y: SkMScalar,
z: SkMScalar,
radians: SkMScalar
)
[src]
&mut self,
x: SkMScalar,
y: SkMScalar,
z: SkMScalar,
radians: SkMScalar
)
pub unsafe fn setRotateAboutUnit(
&mut self,
x: SkMScalar,
y: SkMScalar,
z: SkMScalar,
radians: SkMScalar
)
[src]
&mut self,
x: SkMScalar,
y: SkMScalar,
z: SkMScalar,
radians: SkMScalar
)
pub unsafe fn setConcat(&mut self, a: *const SkMatrix44, b: *const SkMatrix44)
[src]
pub unsafe fn invert(&self, inverse: *mut SkMatrix44) -> bool
[src]
pub unsafe fn transpose(&mut self)
[src]
pub unsafe fn mapScalars(&self, src: *const SkScalar, dst: *mut SkScalar)
[src]
pub unsafe fn map2(&self, src2: *const f32, count: c_int, dst4: *mut f32)
[src]
pub unsafe fn map21(&self, src2: *const f64, count: c_int, dst4: *mut f64)
[src]
pub unsafe fn preserves2dAxisAlignment(&self, epsilon: SkMScalar) -> bool
[src]
pub unsafe fn dump(&self)
[src]
pub unsafe fn determinant(&self) -> f64
[src]
pub unsafe fn new(arg1: *const SkMatrix) -> Self
[src]
Trait Implementations
impl Clone for SkMatrix44
[src]
fn clone(&self) -> SkMatrix44
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SkMatrix44
[src]
Auto Trait Implementations
impl Send for SkMatrix44
impl Unpin for SkMatrix44
impl Sync for SkMatrix44
impl RefUnwindSafe for SkMatrix44
impl UnwindSafe for SkMatrix44
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,