Docs.rs
skia-safe-0.97.2
skia-safe 0.97.2
Permalink
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
Brooooooklyn
pragmatrix
Dependencies
base64 ^0.22.0
normal
optional
bitflags ^2.0
normal
percent-encoding ^2.3.1
normal
optional
skia-bindings =0.97.2
normal
skia-svg-macros ^0.1.0
normal
optional
ureq ^3.0.4
normal
optional
windows ^0.62.0
normal
optional
serde ^1.0
dev
serde_json ^1.0
dev
serial_test ^3.0
dev
static_assertions ^1.1
dev
winit ^0.30.2
dev
zip ^8.1
dev
ash ^0.38.0
dev
gl ^0.14.0
dev
glutin ^0.32.0
dev
glutin-winit ^0.5.0
dev
raw-window-handle ^0.6.0
dev
vulkano ^0.35
dev
objc2 ^0.6.3
dev
objc2-core-foundation ^0.3.2
dev
objc2-metal ^0.3.2
dev
objc2-quartz-core ^0.3.2
dev
raw-window-handle ^0.6.0
dev
objc2-ui-kit ^0.3.2
dev
objc2-app-kit ^0.3.2
dev
anyhow ^1.0.75
dev
windows ^0.62.0
dev
Versions
43.5%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Drawable
skia_
safe
0.97.2
Drawable
Aliased Type
Methods
approximate_bytes_used
bounds
draw
draw_at
generation_id
make_picture_snapshot
notify_drawing_changed
Trait Implementations
Debug
In crate skia_
safe
skia_safe
Type Alias
Drawable
Copy item path
Source
pub type Drawable =
RCHandle
<
SkDrawable
>;
Aliased Type
§
pub struct Drawable(
/* private fields */
);
Implementations
§
Source
§
impl
Drawable
Source
pub fn
draw
(&mut self, canvas: &
Canvas
, matrix:
Option
<&
Matrix
>)
Source
pub fn
draw_at
(&mut self, canvas: &
Canvas
, point: impl
Into
<
Point
>)
Source
pub fn
make_picture_snapshot
(&mut self) ->
Picture
Source
pub fn
generation_id
(&mut self) ->
u32
Source
pub fn
bounds
(&mut self) ->
Rect
Source
pub fn
approximate_bytes_used
(&mut self) ->
usize
Source
pub fn
notify_drawing_changed
(&mut self)
Trait Implementations
§
Source
§
impl
Debug
for
Drawable
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more