ot_color_glyph_get_layers


Description:


[ Version ( since = "2.1.0" ) ]
public uint ot_color_glyph_get_layers (Face face, Codepoint glyph, uint start_offset, out unowned OtColorLayer[]? layers)

Fetches a list of all color layers for the specified glyph index in the specified face.

The list returned will begin at the offset provided.

Parameters:

face

Face to work upon

glyph

The glyph index to query

start_offset

offset of the first layer to retrieve

layers

The array of layers found

layer_count

Input = the maximum number of layers to return; Output = the actual number of layers returned (may be zero)

Returns:

Total number of layers available for the glyph index queried


Namespace: HarfBuzz