Surface.hasShowTextGlyphs

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

Note: Even if this function returns false, a showTextGlyphs() operation targeted at surface will still succeed. It just will act like a showGlyphs() operation. Users can use this function to avoid computing UTF-8 text and cluster mapping if the target surface does not use it.

class Surface
bool
hasShowTextGlyphs
()

Return Value

Type: bool

true if surface supports showTextGlyphs(), false otherwise

Meta