TextWidget::GetTextTracking
Defined in:
Returns the tracking for a text widget.
C4Widgets.h
Prototype
float GetTextTracking(void) const;
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