Edit

Share via


GlyphExtentsDelegate Delegate

Definition

Represents a callback method that retrieves the extents (bounding box) of a glyph.

public delegate bool GlyphExtentsDelegate(Font font, object fontData, uint glyph, out GlyphExtents extents);

Parameters

font
Font

The font being queried.

fontData
Object

User-supplied font data.

glyph
UInt32

The glyph identifier.

extents
GlyphExtents

When this method returns, contains the glyph extents.

Return Value

true if the extents were found; otherwise, false.

Applies to