Struct ShapedGlyph
One positioned glyph produced by shaping: a glyph id, the UTF-16 cluster index it maps back to, and its advance and offsets in twips (already scaled to the request's em size, rounded half away from zero per funit conversion rules).
public readonly struct ShapedGlyph : IEquatable<ShapedGlyph>
- Implements
- Inherited Members
Constructors
- ShapedGlyph(ushort, int, Twips, Twips, Twips)
Initializes a shaped glyph.
Properties
- Advance
Gets the horizontal advance in twips.
- Cluster
Gets the UTF-16 code unit index in the source text this glyph maps to.
- GlyphId
Gets the glyph id in the font.
- OffsetX
Gets the horizontal placement offset in twips.
- OffsetY
Gets the vertical placement offset in twips.