get_glyph_origin_for_direction


Description:

[ Version ( since = "0.9.2" ) ]
public void get_glyph_origin_for_direction (Codepoint glyph, Direction direction, out Position x, out Position y)

Fetches the (X,Y) coordinates of the origin for a glyph in the specified font.

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

Parameters:

glyph

The glyph ID to query

direction

The direction of the text segment

x

The X coordinate retrieved for the origin

y

The Y coordinate retrieved for the origin

font

Font to work upon