otColorGlyphGetLayers

fnuint otColorGlyphGetLayers(harfbuzz.face.Face face, harfbuzz.types.Codepoint glyph, uint startOffset, ref harfbuzz.types.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#hb_face_t to work upon
glyphThe glyph index to query
startOffsetoffset of the first layer to retrieve
layersThe array of layers found

Returns

Total number of layers available for the glyph index queried