Edit

Share via


NominalGlyphsDelegate Delegate

Definition

A callback delegate used to map multiple Unicode code points to their nominal glyph identifiers in a single batch operation.

public delegate uint NominalGlyphsDelegate(Font font, object fontData, uint count, ReadOnlySpan<uint> codepoints, Span<uint> glyphs);

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 code points to map.

codepoints
ReadOnlySpan<UInt32>

A read-only span of Unicode code points to map to glyphs.

glyphs
Span<UInt32>

A span to receive the resulting glyph identifiers.

Return Value

The number of code points successfully mapped to glyphs.

Applies to