FerroShapedText
struct · ferroui-pretext-media · v0.5.0
struct FerroShapedText
Positioned portable glyph data together with its actual native font faces.
Native runs are already in visual order and have their horizontal baseline origins set. Keeping this value keeps their glyph typefaces alive.
Members
shaped_run
fn shaped_run(self: &Self) -> &PretextShapedRun
glyph_runs
fn glyph_runs(self: &Self) -> &[Rc<GlyphRun>]
into_shaped_run
fn into_shaped_run(self: Self) -> PretextShapedRun
draw
fn draw(self: &Self, sink: &mut dyn ITextDrawingSink, foreground: Option<&Rc<dyn IBrush>>, baseline_origin: Point)
Draws the retained glyph runs at the requested baseline origin.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.