TextWidget::GetTextFlags
Defined in:
Returns the text flags for a text widget.
C4Widgets.h
Prototype
uint32 GetTextFlags(void) const;
Description
The GetTextFlags
function returns the text flags, which can be a combination (through logical OR) of the following constants.
kTextMultipleLines |
The text is rendered as multiple lines within the text box specified by the object or widget size. |
kTextPolygonGeometry |
Glyphs are rendered with tight bounding polygons instead of simple quads, if such data is available in the font. |
kTextRectangleGeometry |
For axis-aligned glyphs, rectangles are rendered instead of triangle lists as an optimization, if this functionality is available on the GPU. |
See Also