Edit

Share via


GlyphOriginDelegate Delegate

Definition

A callback delegate used to retrieve the origin coordinates of a glyph for horizontal or vertical layout.

public delegate bool GlyphOriginDelegate(Font font, object fontData, uint glyph, out int x, out int y);

Parameters

font
Font

The Font instance invoking this callback.

fontData
Object

The user-specified font data associated with the font.

glyph
UInt32

The glyph identifier to query.

x
Int32

When this method returns, contains the X coordinate of the glyph origin in font units.

y
Int32

When this method returns, contains the Y coordinate of the glyph origin in font units.

Return Value

true if the origin was found; otherwise, false.

Applies to