Matrix3x2F::Matrix3x2F(FLOAT, FLOAT, FLOAT, FLOAT, FLOAT, FLOAT) constructor

Instantiates a new instance of the Matrix3x2F class that contains the specified values.

Syntax


Matrix3x2F(
  FLOAT _11,
  FLOAT _12,
  FLOAT _21,
  FLOAT _22,
  FLOAT _31,
  FLOAT _32
);

Parameters

_11

Type: FLOAT

The value in the first row and first column of the matrix.

_12

Type: FLOAT

The value in the first row and second column of the matrix.

_21

Type: FLOAT

The value in the second row and first column of the matrix.

_22

Type: FLOAT

The value in the second row and second column of the matrix.

_31

Type: FLOAT

The value in the third row and first column of the matrix.

_32

Type: FLOAT

The value in the third row and second column of the matrix.

Remarks

This method enables you to explicitly set the values of matrix members. When using this method, ensure that each member represents an appropriate value for your transformation matrix. For example, to create the identity matrix, you must set _11 and _22 to 1, and the rest to 0. To create a translation matrix, you must set _11 and _22 to 1, _12 and _21 to 0, _31 to the x displacement, and _32 to the y displacement.

For convenience and accuracy, we recommended that whenever possible you use other helper functions, such as Identity and Translation, instead of this one.

Requirements

Minimum supported client

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

Minimum supported server

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

Minimum supported phone

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

Namespace

D2D1

Header

D2d1helper.h

Library

D2d1.lib

DLL

D2d1.dll

See also

Matrix3x2F

 

 

Community Additions

ADD
Show:
© 2014 Microsoft