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
PathEffect
skia_
safe
0.97.2
Path
Effect
Aliased Type
Associated Functions
sum
compose
path_1d
line_2d
path_2d
corner_path
dash
discrete
trim
Methods
filter_path
filter_path_inplace
filter_path_inplace_with_matrix
needs_ctm
Trait Implementations
Debug
Send
Sync
In crate skia_
safe
skia_safe
Type Alias
Path
Effect
Copy item path
Source
pub type PathEffect =
RCHandle
<
SkPathEffect
>;
Aliased Type
§
pub struct PathEffect(
/* private fields */
);
Implementations
§
Source
§
impl
PathEffect
Source
pub fn
sum
( first: impl
Into
<
PathEffect
>, second: impl
Into
<
PathEffect
>, ) ->
PathEffect
Source
pub fn
compose
( first: impl
Into
<
PathEffect
>, second: impl
Into
<
PathEffect
>, ) ->
PathEffect
Source
pub fn
filter_path
( &self, src: &
Path
, stroke_rec: &
StrokeRec
, cull_rect: impl
AsRef
<
Rect
>, ) ->
Option
<(
PathBuilder
,
StrokeRec
)>
Source
pub fn
filter_path_inplace
( &self, dst: &mut
PathBuilder
, src: &
Path
, stroke_rec: &mut
StrokeRec
, cull_rect: impl
AsRef
<
Rect
>, ) ->
bool
Source
pub fn
filter_path_inplace_with_matrix
( &self, dst: &mut
PathBuilder
, src: &
Path
, stroke_rec: &mut
StrokeRec
, cull_rect: impl
AsRef
<
Rect
>, ctm: &
Matrix
, ) ->
bool
Source
pub fn
needs_ctm
(&self) ->
bool
Source
§
impl
PathEffect
Source
pub fn
path_1d
( path: &
Path
, advance:
scalar
, phase:
scalar
, style:
Style
, ) ->
Option
<
PathEffect
>
Source
§
impl
PathEffect
Source
pub fn
line_2d
(width:
scalar
, matrix: &
Matrix
) ->
Option
<
PathEffect
>
Source
pub fn
path_2d
(matrix: &
Matrix
, path: &
Path
) ->
PathEffect
Source
§
impl
PathEffect
Source
pub fn
corner_path
(radius:
scalar
) ->
Option
<Self>
Source
§
impl
PathEffect
Source
pub fn
dash
(intervals: &[
scalar
], phase:
scalar
) ->
Option
<Self>
Source
§
impl
PathEffect
Source
pub fn
discrete
( seg_length:
scalar
, dev:
scalar
, seed_assist: impl
Into
<
Option
<
u32
>>, ) ->
Option
<Self>
Source
§
impl
PathEffect
Source
pub fn
trim
( start_t:
scalar
, stop_t:
scalar
, mode: impl
Into
<
Option
<
Mode
>>, ) ->
Option
<
PathEffect
>
Trait Implementations
§
Source
§
impl
Debug
for
PathEffect
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Send
for
PathEffect
Source
§
impl
Sync
for
PathEffect