skia_
safe
0.81.0
Picture
Recorder
Aliased type
Methods
begin_recording
finish_recording_as_drawable
finish_recording_as_picture
new
recording_canvas
Trait Implementations
Debug
In crate skia_
safe
skia_safe
Type Alias
PictureRecorder
Copy item path
Source
pub type PictureRecorder =
Handle
<SkPictureRecorder>;
Aliased Type
§
struct PictureRecorder(
/* private fields */
);
Implementations
§
Source
§
impl
PictureRecorder
Source
pub fn
new
() -> Self
Source
pub fn
begin_recording
( &mut self, bounds: impl
AsRef
<
Rect
>, bbh_factory:
Option
<&mut
BBHFactory
>, ) -> &
Canvas
Source
pub fn
recording_canvas
(&mut self) ->
Option
<&
Canvas
>
Source
pub fn
finish_recording_as_picture
( &mut self, cull_rect:
Option
<&
Rect
>, ) ->
Option
<
Picture
>
Source
pub fn
finish_recording_as_drawable
(&mut self) ->
Option
<
Drawable
>
Trait Implementations
§
Source
§
impl
Debug
for
PictureRecorder
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more