skia_safe::textlayout::paragraph

Type Alias ExtendedVisitorInfo

Source
pub type ExtendedVisitorInfo = Handle<skia_textlayout_Paragraph_ExtendedVisitorInfo>;

Aliased Type§

struct ExtendedVisitorInfo(/* private fields */);

Implementations§

Source§

impl ExtendedVisitorInfo

Source

pub fn font(&self) -> &Font

Source

pub fn origin(&self) -> Point

Source

pub fn advance(&self) -> Size

Source

pub fn count(&self) -> usize

Source

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

Source

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

Source

pub fn bounds(&self) -> &[Rect]

Source

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

Source

pub fn flags(&self) -> VisitorFlags

Trait Implementations§

Source§

impl Debug for ExtendedVisitorInfo

Source§

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

Formats the value using the given formatter. Read more