Matrix3x2F::Skew method (d2d1helper.h)
Creates a skew transformation that has the specified x-axis and y-axis values and center point.
Matrix3x2F Skew( FLOAT angleX, FLOAT angleY, D2D1_POINT_2F center );
The x-axis skew angle, which is measured in degrees counterclockwise from the y-axis.
The y-axis skew angle, which is measured in degrees clockwise from the x-axis.
The point about which the skew is performed.
The new skew transformation.
The typical y-axis skew means skews the angle in degrees counterclockwise from the x-axis. However, because the y-axis in Direct2D is inverted, the y-axis skew angle in Direct2D means skew the angle in degrees clockwise from the x-axis.
For example, the following illustration shows the rectangle skewed with y-axis skew angle of 30 degrees. Notice that the angle is 30 degrees clockwise from the x-axis.
For an example, see How to Skew an Object.
|Minimum supported client||Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]|