Struct skia_bindings::SkM44
source · #[repr(C)]pub struct SkM44 {
pub fMat: [SkScalar; 16],
}
Fields§
§fMat: [SkScalar; 16]
Implementations§
source§impl SkM44
impl SkM44
pub unsafe fn RectToRect(src: *const SkRect, dst: *const SkRect) -> SkM44
pub unsafe fn LookAt( eye: *const SkV3, center: *const SkV3, up: *const SkV3 ) -> SkM44
pub unsafe fn Perspective(near: f32, far: f32, angle: f32) -> SkM44
pub unsafe fn getRowMajor(&self, v: *mut SkScalar)
pub unsafe fn setRotateUnitSinCos( &mut self, axis: SkV3, sinAngle: SkScalar, cosAngle: SkScalar ) -> *mut SkM44
pub unsafe fn setRotate(&mut self, axis: SkV3, radians: SkScalar) -> *mut SkM44
pub unsafe fn setConcat( &mut self, a: *const SkM44, b: *const SkM44 ) -> *mut SkM44
pub unsafe fn normalizePerspective(&mut self)
pub unsafe fn invert(&self, inverse: *mut SkM44) -> bool
pub unsafe fn transpose(&self) -> SkM44
pub unsafe fn dump(&self)
pub unsafe fn map(&self, x: f32, y: f32, z: f32, w: f32) -> SkV4
pub unsafe fn preTranslate( &mut self, x: SkScalar, y: SkScalar, z: SkScalar ) -> *mut SkM44
pub unsafe fn postTranslate( &mut self, x: SkScalar, y: SkScalar, z: SkScalar ) -> *mut SkM44
pub unsafe fn preScale(&mut self, x: SkScalar, y: SkScalar) -> *mut SkM44
pub unsafe fn preScale1( &mut self, x: SkScalar, y: SkScalar, z: SkScalar ) -> *mut SkM44
pub unsafe fn preConcat(&mut self, arg1: *const SkMatrix) -> *mut SkM44
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SkM44
impl Send for SkM44
impl Sync for SkM44
impl Unpin for SkM44
impl UnwindSafe for SkM44
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