Context.textClusterFree

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

class Context
static
void
textClusterFree

Parameters

clusters cairo_text_cluster_t[]

array of text clusters to free, or NULL