Edit

Share via


GlyphContourPointDelegate Delegate

Definition

A callback delegate used to retrieve the coordinates of a specific contour point within a glyph outline.

public delegate bool GlyphContourPointDelegate(Font font, object fontData, uint glyph, uint pointIndex, 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.

pointIndex
UInt32

The zero-based index of the contour point to retrieve.

x
Int32

When this method returns, contains the X coordinate of the contour point in font units.

y
Int32

When this method returns, contains the Y coordinate of the contour point in font units.

Return Value

true if the contour point was found; otherwise, false.

Applies to