C4 Engine
C4 Engine API Documentation

TextWidget::GetTextOffset

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

const Vector2D& GetTextOffset(voidconst;

Description
The GetTextOffset function returns the text offset for a text widget. When text is rendered, it is offset by the product of the font size and the text offset value.
See Also

TextWidget::SetTextOffset

TextWidget::GetTextScale

TextWidget::SetTextScale

TextWidget::GetFontSize

TextWidget::SetFontSize