Skip to main content
StrikeRef
skia_
safe
0.99.0
Strike
Ref
Aliased Type
Methods
get_width
get_widths
get_widths_bounds
Trait Implementations
Debug
Send
Sync
In crate skia_
safe
skia_safe
Type Alias
Strike
Ref
Copy item path
Source
pub type StrikeRef =
Handle
<SkStrikeRef>;
Aliased Type
§
pub struct StrikeRef(
/* private fields */
);
Implementations
§
Source
§
impl
StrikeRef
Source
pub fn
get_width
(&self, glyph:
GlyphId
) ->
scalar
Source
pub fn
get_widths
(&self, glyphs: &[
GlyphId
], widths: &mut [
scalar
])
Source
pub fn
get_widths_bounds
( &self, glyphs: &[
GlyphId
], widths:
Option
<&mut [
scalar
]>, bounds:
Option
<&mut [
Rect
]>, )
Trait Implementations
§
Source
§
impl
Debug
for
StrikeRef
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Send
for
StrikeRef
Source
§
impl
Sync
for
StrikeRef