C4 Engine
C4 Engine API Documentation

TextWidget::GetTextScale

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

const Vector2D& GetTextScale(voidconst;

Description
The GetTextScale function returns the text scale for a text widget. When text is rendered, the font size is multiplied by the text scale to determine the final size of the glyphs.
See Also

TextWidget::SetTextScale

TextWidget::GetTextOffset

TextWidget::SetTextOffset

TextWidget::GetFontSize

TextWidget::SetFontSize