get_glyph_positions


Description:

[ CCode ( array_length_pos = 0.2 , array_length_type = "guint" ) ]
[ Version ( since = "0.9.2" ) ]
public unowned GlyphPosition[] get_glyph_positions ()

Returns buffer glyph position array.

Returned pointer is valid as long as buffer contents are not modified.

If buffer did not have positions before, the positions will be initialized to zeros, unless this function is called from within a buffer message callback (see set_message_func), in which case `NULL` is returned.

Parameters:

buffer

An Buffer

length

The output length

Returns:

The buffer glyph position array. The value valid as long as buffer has not been modified.