C4 Engine
C4 Engine API Documentation

TextWidget::SetFontSize

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

float GetFontSize(float em) const;

Parameters
em The em size of the font, in pixels.
Description
The SetFontSize function sets the em size of the font used by a text widget to the value specified by the em parameter. The font size is combined with the text scale to determine the final size at which glyphs are rendered.
See Also

TextWidget::GetFontSize

TextWidget::GetTextScale

TextWidget::SetTextScale

TextWidget::GetFont

TextWidget::SetFont

TextWidget::GetFontName