Struct skia_bindings::SkColorMatrix
source · #[repr(C)]pub struct SkColorMatrix {
pub fMat: [u32; 20],
}
Fields§
§fMat: [u32; 20]
Implementations§
source§impl SkColorMatrix
impl SkColorMatrix
pub unsafe fn RGBtoYUV(arg1: SkYUVColorSpace) -> SkColorMatrix
pub unsafe fn YUVtoRGB(arg1: SkYUVColorSpace) -> SkColorMatrix
pub unsafe fn setIdentity(&mut self)
pub unsafe fn setScale( &mut self, rScale: f32, gScale: f32, bScale: f32, aScale: f32 )
pub unsafe fn postTranslate(&mut self, dr: f32, dg: f32, db: f32, da: f32)
pub unsafe fn setConcat( &mut self, a: *const SkColorMatrix, b: *const SkColorMatrix )
pub unsafe fn setSaturation(&mut self, sat: f32)
Auto Trait Implementations§
impl RefUnwindSafe for SkColorMatrix
impl Send for SkColorMatrix
impl Sync for SkColorMatrix
impl Unpin for SkColorMatrix
impl UnwindSafe for SkColorMatrix
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