TextWidget::SetTextFlags
Defined in:
Sets the text flags for a text widget.
C4Widgets.h
Prototype
void SetTextFlags(uint32 flags);
Parameters
flags |
The new text flags. |
Description
The SetTextFlags
function sets the text flags to the value specified by the flags
parameter, 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. |
kTextFormattingDirectives | kTextClippingPlanes | kTextOpticalWeight
.
See Also