[][src]Struct skia_bindings::SkPictureRecorder

#[repr(C)]
pub struct SkPictureRecorder {
    pub fActivelyRecording: bool,
    pub fFlags: u32,
    pub fCullRect: SkRect,
    pub fBBH: sk_sp<SkBBoxHierarchy>,
    pub fRecorder: u64,
    pub fRecord: sk_sp<SkRecord>,
    pub fMiniRecorder: u64,
}

Fields

fActivelyRecording: boolfFlags: u32fCullRect: SkRectfBBH: sk_sp<SkBBoxHierarchy>fRecorder: u64fRecord: sk_sp<SkRecord>fMiniRecorder: u64

Methods

impl SkPictureRecorder[src]

pub unsafe fn beginRecording(
    &mut self,
    bounds: *const SkRect,
    bbhFactory: *mut SkBBHFactory,
    recordFlags: u32
) -> *mut SkCanvas
[src]

pub unsafe fn getRecordingCanvas(&mut self) -> *mut SkCanvas[src]

pub unsafe fn finishRecordingAsPicture(
    &mut self,
    endFlags: u32
) -> sk_sp<SkPicture>
[src]

pub unsafe fn finishRecordingAsPictureWithCull(
    &mut self,
    cullRect: *const SkRect,
    endFlags: u32
) -> sk_sp<SkPicture>
[src]

pub unsafe fn finishRecordingAsDrawable(
    &mut self,
    endFlags: u32
) -> sk_sp<SkDrawable>
[src]

pub unsafe fn new() -> Self[src]

pub unsafe fn destruct(&mut 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]