has_positions


Description:

public Bool has_positions ()

Returns whether buffer has glyph position data.

A buffer gains position data when get_glyph_positions is called on it, and cleared of position data when clear_contents is called.

Parameters:

buffer

an Buffer.

Returns:

`true` if the buffer has position array, `false` otherwise.