Edit

Share via


GlyphAdvancesDelegate Delegate

Definition

A callback delegate used to retrieve the advance widths or heights for multiple glyphs in a single batch operation.

public delegate void GlyphAdvancesDelegate(Font font, object fontData, uint count, ReadOnlySpan<uint> glyphs, Span<int> advances);

Parameters

font
Font

The Font instance invoking this callback.

fontData
Object

The user-specified font data associated with the font.

count
UInt32

The number of glyphs to process.

glyphs
ReadOnlySpan<UInt32>

A read-only span of glyph identifiers to query.

advances
Span<Int32>

A span to receive the advance widths or heights in font units for each glyph.

Applies to