C4 Engine
C4 Engine API Documentation

TextWidget::GetTextFlags

Defined in:  C4Widgets.h
Returns the text flags for a text widget.
Prototype

uint32 GetTextFlags(voidconst;

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

TextWidget::SetTextFlags