Uredi

Font.TryGetGlyphContourPoint(UInt32, UInt32, Int32, Int32) Method

Definition

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.

Applies to