XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft