Font.TryGetGlyphContourPoint(UInt32, UInt32, Int32, Int32) Method
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.
Tries to get the coordinates of a contour point in a glyph.
public bool TryGetGlyphContourPoint(uint glyph, uint pointIndex, out int x, out int y);
Parameters
- glyph
- UInt32
The glyph ID.
- pointIndex
- UInt32
The index of the contour point.
- x
- Int32
Returns the X coordinate of the point.
- y
- Int32
Returns the Y coordinate of the point.
Returns
true if the point was found; otherwise, false.
Remarks
Contour points are used for TrueType hinting.