C4 Engine
C4 Engine API Documentation

TextWidget::GetTextTracking

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

float GetTextTracking(voidconst;

Description
The GetTextTracking function returns the tracking, in em units, for a text widget. The tracking value determines how much extra spacing is added between all pairs of consecutive glyphs. It is multiplied by the font size and text scale to calculate the actual distance added between glyphs. The default text tracking is 0.0 em, which means that glyphs are spaced exactly as far apart as specified in the font resource, without any additional spacing. If kerning is enabled, then it is applied in addition to tracking.
See Also

TextWidget::SetTextTracking

TextWidget::GetTextLeading

TextWidget::SetTextLeading

TextWidget::GetTextSkew

TextWidget::SetTextSkew