C4 Engine
C4 Engine API Documentation

TextWidget::GetFontSize

Defined in:  C4Widgets.h
Returns the em size of the font used by a text widget.
Prototype

float GetFontSize(voidconst;

Description
The GetFontSize function returns the em size of the font used by a text widget, in pixels. The font size is combined with the text scale to determine the final size at which glyphs are rendered.
See Also

TextWidget::SetFontSize

TextWidget::GetTextScale

TextWidget::SetTextScale

TextWidget::GetFont

TextWidget::SetFont

TextWidget::GetFontName