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.vertical
—true
if the text is being laid out top to bottom.
Retrieve the glyphs positions.
Auto Trait Implementations
impl<'f, 'i, T> !RefUnwindSafe for GlyphLayout<'f, 'i, T>
impl<'f, 'i, T> !Send for GlyphLayout<'f, 'i, T>
impl<'f, 'i, T> !Sync for GlyphLayout<'f, 'i, T>
impl<'f, 'i, T> Unpin for GlyphLayout<'f, 'i, T>
impl<'f, 'i, T> !UnwindSafe for GlyphLayout<'f, 'i, T>