Editar

Font.TryGetGlyphContourPointForOrigin Method

Definition

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.

Applies to