Synced
Text.Rasterize
Section titled “Text.Rasterize”
- Rasterizes one shaped glyph into immutable 8-bit coverage.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Text
Scope: Runtime
Declaration
Section titled “Declaration”public static InnoEngine.Text.GlyphBitmap InnoEngine.Text.Text.Rasterize(InnoEngine.Text.FontAsset font, int faceIndex, uint glyphId, float fontSize)Parameters
Section titled “Parameters”Parameter font: The imported font source.
Parameter faceIndex: The zero-based collection face index.
Parameter glyphId: The font-specific glyph identifier.
Parameter fontSize: The positive logical pixel size.
Returns
Section titled “Returns”The immutable glyph bitmap.