C4 Engine
C4 Engine API Documentation

TextWidget::GetTextSkew

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

float GetTextSkew(voidconst;

Description
The GetTextSkew function returns the skew for a text widget. The skew determines how much glyphs are slanted to the right or left, and it is equal to the ratio of the change in x coordinate to the change in y coordinate, where the y coordinate is the distance above the baseline. Positive skew values cause the text to be slanted to the right, and negative skew values cause the text to be slanted to the left. The default text skew is 0.0, which means that no skew is applied. Skew is independent of tracking and kerning.
See Also

TextWidget::SetTextSkew

TextWidget::GetTextTracking

TextWidget::SetTextTracking

TextWidget::GetTextFlags

TextWidget::SetTextFlags