Context.glyphFree

Frees an array of cairo_glyph_t's allocated using cairo_glyph_allocate(). This function is only useful to free glyph array returned by ScaledFont.textToGlyphs where cairo returns an array of glyphs that the user will free. For all other uses, user can use their own allocation method for glyphs. Since 1.8

class Context
static
void
glyphFree

Parameters

glyphs cairo_glyph_t[]

array of glyphs to free, or NULL