get_glyph_kerning_for_direction


Description:

[ Version ( since = "0.9.2" ) ]
public void get_glyph_kerning_for_direction (Codepoint first_glyph, Codepoint second_glyph, Direction direction, out Position x, out Position y)

Fetches the kerning-adjustment value for a glyph-pair in the specified font.

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

Parameters:

first_glyph

The glyph ID of the first glyph in the glyph pair to query

second_glyph

The glyph ID of the second glyph in the glyph pair to query

direction

The direction of the text segment

x

The horizontal kerning-adjustment value retrieved

y

The vertical kerning-adjustment value retrieved

font

Font to work upon