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