Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Describes one positioned glyph emitted by Unicode shaping.

API: scripting
Project: Inno.Text
Scope: Runtime

public InnoEngine.Text.TextGlyph.TextGlyph(uint glyphId, uint cluster, float advanceX, float advanceY, float offsetX, float offsetY)

Parameter glyphId: The glyph identifier in the font face that produced this layout.

Parameter cluster: The source cluster index reported by the backend. The FreeType/HarfBuzz backend reports a UTF-8 byte offset, not a UTF-16 character index.

Parameter advanceX: The horizontal pen advance in logical pixels, including backend-applied letter spacing.

Parameter advanceY: The vertical pen advance in logical pixels, including backend-applied letter spacing.

Parameter offsetX: The horizontal placement offset from the pen position in logical pixels.

Parameter offsetY: The vertical placement offset from the pen position in logical pixels.