Surface.hasShowTextGlyphs - multiple declarations
- Function Surface.hasShowTextGlyphs
- Function Surface.hasShowTextGlyphs
Function 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.
Prototype
bool hasShowTextGlyphs();
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.
Returns
true if surface supports showTextGlyphs(), false otherwise
Function 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.
Prototype
bool hasShowTextGlyphs();
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.
Returns
true if surface supports showTextGlyphs(), false otherwise
Authors
Johannes Pfau | cairoD |
Andrej Mitrovic | cairoD |
cairo team | cairo |
Copyright
License
cairoD wrapper/bindings | Boost License 1.0 |
cairo | LGPL 2.1 / MPL 1.1 |