get_glyph_advances_for_direction


Description:

[ Version ( since = "1.8.6" ) ]
public void get_glyph_advances_for_direction (Direction direction, uint count, Codepoint first_glyph, uint glyph_stride, Position first_advance, uint advance_stride)

Fetches the advances for a sequence of glyph IDs in the specified font, in a text segment of the specified direction.

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

Parameters:

direction

The direction of the text segment

count

The number of glyph IDs in the sequence queried

first_glyph

The first glyph ID to query

glyph_stride

The stride between successive glyph IDs

first_advance

The first advance retrieved

advance_stride

The stride between successive advances

font

Font to work upon