C4 Engine
C4 Engine API Documentation

TextWidget::GetTextLeading

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

float GetTextLeading(voidconst;

Description
The GetTextLeading function returns the leading, in em units, for a text widget. The leading is multiplied by the font size to calculate the actual distance between two consecutive lines of text. The default text leading is 1.2 em.
See Also

TextWidget::SetTextLeading

TextWidget::GetTextTracking

TextWidget::SetTextTracking