[−][src]Struct skia_bindings::SkPixmap
Fields
fPixels: *const c_void
fRowBytes: usize
fInfo: SkImageInfo
Methods
impl SkPixmap
[src]
pub unsafe fn reset(&mut self)
[src]
pub unsafe fn reset1(
&mut self,
info: *const SkImageInfo,
addr: *const c_void,
rowBytes: usize
)
[src]
&mut self,
info: *const SkImageInfo,
addr: *const c_void,
rowBytes: usize
)
pub unsafe fn setColorSpace(&mut self, colorSpace: sk_sp<SkColorSpace>)
[src]
pub unsafe fn reset2(&mut self, mask: *const SkMask) -> bool
[src]
pub unsafe fn extractSubset(
&self,
subset: *mut SkPixmap,
area: *const SkIRect
) -> bool
[src]
&self,
subset: *mut SkPixmap,
area: *const SkIRect
) -> bool
pub unsafe fn computeIsOpaque(&self) -> bool
[src]
pub unsafe fn getColor(&self, x: c_int, y: c_int) -> SkColor
[src]
pub unsafe fn getAlphaf(&self, x: c_int, y: c_int) -> f32
[src]
pub unsafe fn readPixels(
&self,
dstInfo: *const SkImageInfo,
dstPixels: *mut c_void,
dstRowBytes: usize,
srcX: c_int,
srcY: c_int
) -> bool
[src]
&self,
dstInfo: *const SkImageInfo,
dstPixels: *mut c_void,
dstRowBytes: usize,
srcX: c_int,
srcY: c_int
) -> bool
pub unsafe fn scalePixels(
&self,
dst: *const SkPixmap,
filterQuality: SkFilterQuality
) -> bool
[src]
&self,
dst: *const SkPixmap,
filterQuality: SkFilterQuality
) -> bool
pub unsafe fn erase(&self, color: SkColor, subset: *const SkIRect) -> bool
[src]
pub unsafe fn erase1(
&self,
color: *const SkColor4f,
subset: *const SkIRect
) -> bool
[src]
&self,
color: *const SkColor4f,
subset: *const SkIRect
) -> bool
Auto Trait Implementations
impl !Send for SkPixmap
impl Unpin for SkPixmap
impl !Sync for SkPixmap
impl UnwindSafe for SkPixmap
impl !RefUnwindSafe for SkPixmap
Blanket Implementations
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,