Struct allsorts::glyph_position::GlyphLayout[][src]

pub struct GlyphLayout<'f, 'i, T> where
    T: FontTableProvider
{ /* fields omitted */ }
Expand description

Used to calculate the position of shaped glyphs.

Implementations

Construct a new GlyphLayout instance.

Arguments

  • font — the font that the glyphs belong to.
  • infos — the shaped glyphs to lay out.
  • direction — the horizontal text layout direction.
  • verticaltrue if the text is being laid out top to bottom.

Retrieve the glyphs positions.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.