Skip to main content

StrikeRef

Type Alias StrikeRef 

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