D2D1MakeSkewMatrix function (d2d1.h)

Creates a skew transformation that has the specified x-axis angle, y-axis angle, and center point.

Syntax

void D2D1MakeSkewMatrix(
  [in]  FLOAT             angleX,
  [in]  FLOAT             angleY,
  [in]  D2D1_POINT_2F     center,
  [out] D2D1_MATRIX_3X2_F *matrix
);

Parameters

[in] angleX

Type: FLOAT

The x-axis skew angle, which is measured in degrees counterclockwise from the y-axis.

[in] angleY

Type: FLOAT

The y-axis skew angle, which is measured in degrees counterclockwise from the x-axis.

[in] center

Type: D2D1_POINT_2F

The center point of the skew operation.

[out] matrix

Type: D2D1_MATRIX_3X2_F*

When this method returns, contains the rotation transformation. You must allocate storage for this parameter.

Return value

None

Requirements

Requirement Value
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]
Target Platform Windows
Header d2d1.h
Library D2d1.lib
DLL D2d1.dll