Struct skia_bindings::SkPictureRecorder
source · #[repr(C)]pub struct SkPictureRecorder {
pub fActivelyRecording: bool,
pub fCullRect: SkRect,
pub fBBH: sk_sp<SkBBoxHierarchy>,
pub fRecorder: u64,
pub fRecord: sk_sp<SkRecord>,
}
Fields§
§fActivelyRecording: bool
§fCullRect: SkRect
§fBBH: sk_sp<SkBBoxHierarchy>
§fRecorder: u64
§fRecord: sk_sp<SkRecord>
Implementations§
source§impl SkPictureRecorder
impl SkPictureRecorder
pub unsafe fn beginRecording( &mut self, bounds: *const SkRect, bbh: sk_sp<SkBBoxHierarchy> ) -> *mut SkCanvas
pub unsafe fn beginRecording1( &mut self, bounds: *const SkRect, bbhFactory: *mut SkBBHFactory ) -> *mut SkCanvas
pub unsafe fn getRecordingCanvas(&mut self) -> *mut SkCanvas
pub unsafe fn finishRecordingAsPicture(&mut self) -> sk_sp<SkPicture>
pub unsafe fn finishRecordingAsPictureWithCull( &mut self, cullRect: *const SkRect ) -> sk_sp<SkPicture>
pub unsafe fn finishRecordingAsDrawable(&mut self) -> sk_sp<SkDrawable>
pub unsafe fn new() -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SkPictureRecorder
impl !Send for SkPictureRecorder
impl !Sync for SkPictureRecorder
impl Unpin for SkPictureRecorder
impl UnwindSafe for SkPictureRecorder
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