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.

IdentityMatrix function

Creates an identity matrix.

Syntax


D2D1_MATRIX_3X2_F IdentityMatrix(void);

Parameters

This function has no parameters.

Return value

Type: D2D1_MATRIX_3X2_F

An identity matrix.

Remarks

The identity matrix is the 3x2 matrix with ones on the main diagonal and zeros elsewhere. When an identity transform is applied to an object, it does not change the position, shape, or size of the object. It is similar to the way that multiplying a number by 1 does not change the number. Any transform other than the identity transform will modify the position, shape, and/or size of objects.

Calling this function is the same as calling D2D1::Matrix3x2F::Identity().

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

D2d1helper.h

Library

D2d1.lib

DLL

D2d1.dll

See also

D2D1_MATRIX_3X2_F

 

 

Show:
© 2017 Microsoft