otColorGlyphGetLayers
fn
uint 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 |
glyph | The glyph index to query |
startOffset | offset of the first layer to retrieve |
layers | The array of layers found |
Returns
Total number of layers available for the glyph index queried