Class GlyphAdditionResult
The outcome of one AddGlyphs(string) call: the glyphs placed (with pixel bytes), the kerning pairs the additions introduced, and any page-geometry change the caller must react to.
public sealed class GlyphAdditionResult
- Inheritance
-
GlyphAdditionResult
- Inherited Members
Properties
Added
The glyphs added by this call, each with pixels and a reserved placement.
public IReadOnlyList<AddedGlyph> Added { get; }
Property Value
AlreadyPresent
Requested codepoints that were already in the session. Re-adds are reported no-ops, never errors.
public IReadOnlyList<int> AlreadyPresent { get; }
Property Value
FailedCodepoints
Requested codepoints the font cannot render (no cmap entry or rasterization failed).
public IReadOnlyList<int> FailedCodepoints { get; }
Property Value
NewKerning
Kerning pairs introduced by this call only (the delta): pairs where at least one side is a newly added character and the other side is already in the session.
public IReadOnlyList<KerningEntry> NewKerning { get; }
Property Value
PageCount
Current page count after this call.
public int PageCount { get; }
Property Value
PageGrown
True when Grow enlarged the pages during this call. The caller must reallocate its texture(s) at the new PageWidth x PageHeight and copy old contents at (0,0).
public bool PageGrown { get; }
Property Value
PageHeight
Current page height in pixels after this call.
public int PageHeight { get; }
Property Value
PageWidth
Current page width in pixels after this call.
public int PageWidth { get; }