TextWidget::SetTextScale
Defined in:
Sets the text scale for a text widget.
C4Widgets.h
Prototype
void SetTextScale(float scale) const;
void SetTextScale(const Vector2D& scale) const;
Parameters
scale |
The new scale. This should be greater than 0.0. |
Description
The SetTextScale
function sets the text scale for a text widget to the value specified by the scale
parameter. When text is rendered, the font size is multiplied by the text scale to determine the final size of the glyphs. The default text scale is (1.0, 1.0).
See Also