Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D2D1MakeRotateMatrix function

Creates a rotation transformation that rotates by the specified angle about the specified point.

Syntax


void WINAPI D2D1MakeRotateMatrix(
  _In_  FLOAT             angle,
  _In_  D2D1_POINT_2F     center,
  _Out_ D2D1_MATRIX_3X2_F *matrix
);

Parameters

angle [in]

Type: FLOAT

The clockwise rotation angle, in degrees.

center [in]

Type: D2D1_POINT_2F

The point about which to rotate.

matrix [out]

Type: D2D1_MATRIX_3X2_F*

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

Return value

This function does not return a value.

Remarks

Rotation occurs in the plane of the 2-D surface.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Show:
© 2016 Microsoft