Edit

Share via


GlyphAdvanceDelegate Delegate

Definition

The delegate that is invoked when GetHorizontalGlyphAdvance(UInt32) or GetVerticalGlyphAdvance(UInt32) is invoked.

public delegate int GlyphAdvanceDelegate(Font font, object fontData, uint glyph);

Parameters

font
Font

The font.

fontData
Object

The additional data passed to SetFontFunctions(FontFunctions, Object, ReleaseDelegate) when the functions were set.

glyph
UInt32

The glyph.

Return Value

Return the advance amount.

Applies to