Font.TryGetGlyphContourPointForOrigin 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, adjusted for text direction.
public bool TryGetGlyphContourPointForOrigin(uint glyph, uint pointIndex, HarfBuzzSharp.Direction direction, out int x, out int y);
Parameters
- glyph
- UInt32
The glyph ID.
- pointIndex
- UInt32
The index of the contour point.
- direction
- Direction
The text direction for origin adjustment.
- 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.