Method Cairo.Surface()->has_show_text_glyphs()


Method has_show_text_glyphs

bool has_show_text_glyphs()

Description

Returns whether the surface supports sophisticated Context->show_text_glyphs() operations. That is, whether it actually uses the provided text and cluster data to a Context->show_text_glyphs() call.

Note

Even if this function returns 0, a Context->show_text_glyphs() operation targeted at this surface will still succeed. It just will act like a Context->show_glyphs() operation. Users can use this function to avoid computing UTF-8 text and cluster mapping if the target surface does not use it.

Returns

1 if surface supports Context->show_text_glyphs(), 0 otherwise