[][src]Struct skia_bindings::SkImageGenerator

#[repr(C)]
pub struct SkImageGenerator {
    pub vtable_: *const SkImageGenerator__bindgen_vtable,
    pub fInfo: SkImageInfo,
    pub fUniqueID: u32,
}

Fields

vtable_: *const SkImageGenerator__bindgen_vtablefInfo: SkImageInfofUniqueID: u32

Methods

impl SkImageGenerator[src]

pub unsafe fn getPixels(
    &mut self,
    info: *const SkImageInfo,
    pixels: *mut c_void,
    rowBytes: usize
) -> bool
[src]

pub unsafe fn queryYUVA8(
    &self,
    sizeInfo: *mut SkYUVASizeInfo,
    yuvaIndices: *mut SkYUVAIndex,
    colorSpace: *mut SkYUVColorSpace
) -> bool
[src]

pub unsafe fn getYUVA8Planes(
    &mut self,
    sizeInfo: *const SkYUVASizeInfo,
    yuvaIndices: *const SkYUVAIndex,
    planes: *mut *mut c_void
) -> bool
[src]

pub unsafe fn generateTexture(
    &mut self,
    arg1: *mut GrRecordingContext,
    info: *const SkImageInfo,
    origin: *const SkIPoint,
    willNeedMipMaps: bool
) -> sk_sp<GrTextureProxy>
[src]

pub unsafe fn MakeFromEncoded(arg1: sk_sp<SkData>) -> u64[src]

pub unsafe fn MakeFromPicture(
    arg1: *const SkISize,
    arg2: sk_sp<SkPicture>,
    arg3: *const SkMatrix,
    arg4: *const SkPaint,
    arg5: SkImage_BitDepth,
    arg6: sk_sp<SkColorSpace>
) -> u64
[src]

pub unsafe fn new(info: *const SkImageInfo, uniqueId: u32) -> Self[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]