Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates a validated immutable glyph bitmap.

API: scripting
Project: Inno.Text
Scope: Runtime

public InnoEngine.Text.GlyphBitmap.GlyphBitmap(int width, int height, int bearingX, int bearingY, float advanceX, System.ReadOnlySpan<byte> pixels)

Parameter width: The bitmap width in pixels.

Parameter height: The bitmap height in pixels.

Parameter bearingX: The horizontal bearing in pixels.

Parameter bearingY: The vertical bearing in pixels.

Parameter advanceX: The horizontal glyph advance.

Parameter pixels: Tightly packed row-major 8-bit coverage.