GlyphOriginDelegate Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.