Vixen
02b45cc4
csharp
public readonly record struct GlyphPlacement

A glyph and where it goes, with the pen arithmetic already done.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (4)

  • public ushort GlyphId

    The glyph.

  • public int Cluster

    The UTF-16 index of the first character it belongs to.

  • public float X

    Its origin, in design units from the start of the line.

  • public float Y

    Ditto, positive upwards from the baseline.

Methods (1)

  • public GlyphPlacement(ushort GlyphId, int Cluster, float X, float Y)

    A glyph and where it goes, with the pen arithmetic already done.

Used by (6)

  • ShapedTextVixen.Ui.Text
  • ShapingCacheTestsVixen.Ui.Text.Tests
  • ShapingConformanceTestsVixen.Ui.Text.Tests
  • TextRunVixen.Ui
  • TextTestsVixen.Ui.Tests
  • VariationConformanceTestsVixen.Ui.Text.Tests