[−][src]Struct skia_bindings::SkColorMatrix
Fields
fMat: [f32; 20]
Methods
impl SkColorMatrix
[src]
pub unsafe fn setIdentity(&mut self)
[src]
pub unsafe fn setScale(
&mut self,
rScale: f32,
gScale: f32,
bScale: f32,
aScale: f32
)
[src]
&mut self,
rScale: f32,
gScale: f32,
bScale: f32,
aScale: f32
)
pub unsafe fn setRotate(&mut self, arg1: SkColorMatrix_Axis, degrees: f32)
[src]
pub unsafe fn setSinCos(
&mut self,
arg1: SkColorMatrix_Axis,
sine: f32,
cosine: f32
)
[src]
&mut self,
arg1: SkColorMatrix_Axis,
sine: f32,
cosine: f32
)
pub unsafe fn preRotate(&mut self, arg1: SkColorMatrix_Axis, degrees: f32)
[src]
pub unsafe fn postRotate(&mut self, arg1: SkColorMatrix_Axis, degrees: f32)
[src]
pub unsafe fn postTranslate(&mut self, dr: f32, dg: f32, db: f32, da: f32)
[src]
pub unsafe fn setConcat(
&mut self,
a: *const SkColorMatrix,
b: *const SkColorMatrix
)
[src]
&mut self,
a: *const SkColorMatrix,
b: *const SkColorMatrix
)
pub unsafe fn setSaturation(&mut self, sat: f32)
[src]
pub unsafe fn setRGB2YUV(&mut self)
[src]
pub unsafe fn setYUV2RGB(&mut self)
[src]
Trait Implementations
impl Clone for SkColorMatrix
[src]
fn clone(&self) -> SkColorMatrix
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SkColorMatrix
[src]
Auto Trait Implementations
impl Send for SkColorMatrix
impl Unpin for SkColorMatrix
impl Sync for SkColorMatrix
impl RefUnwindSafe for SkColorMatrix
impl UnwindSafe for SkColorMatrix
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,