IGlyphTypefaceImpl.

GetGlyphAdvances(ReadOnlySpan<ushort>) Method

Summary

Returns an array of glyph advances in design em size.
Namespace
Avalonia.Platform
Containing Type
IGlyphTypefaceImpl

Syntax

int[] GetGlyphAdvances(ReadOnlySpan<ushort> glyphs)

Parameters

Name Type Description
glyphs ReadOnlySpan<ushort> The glyph indices.

Return Value

Type Description
int[] An array of glyph advances.