skia_safe::textlayout::paragraph

Type Alias VisitorInfo

Source
pub type VisitorInfo = Handle<skia_textlayout_Paragraph_VisitorInfo>;

Aliased Type§

struct VisitorInfo(/* private fields */);

Implementations§

Source§

impl VisitorInfo

Source

pub fn font(&self) -> &Font

Source

pub fn origin(&self) -> Point

Source

pub fn advance_x(&self) -> scalar

Source

pub fn count(&self) -> usize

Source

pub fn glyphs(&self) -> &[u16]

Source

pub fn positions(&self) -> &[Point]

Source

pub fn utf8_starts(&self) -> &[u32]

Source

pub fn flags(&self) -> VisitorFlags

Trait Implementations§

Source§

impl Debug for VisitorInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more