get_glyph_contour_point_for_origin


Description:

[ Version ( since = "0.9.2" ) ]
public Bool get_glyph_contour_point_for_origin (Codepoint glyph, uint point_index, Direction direction, out Position x, out Position y)

Fetches the (X,Y) coordinates of a specified contour-point index in the specified glyph ID in the specified font, with respect to the origin in a text segment in the specified direction.

Calls the appropriate direction-specific variant (horizontal or vertical) depending on the value of direction.

Parameters:

glyph

The glyph ID to query

point_index

The contour-point index to query

direction

The direction of the text segment

x

The X value retrieved for the contour point

y

The Y value retrieved for the contour point

font

Font to work upon

Returns:

`true` if data found, `false` otherwise