Matrix::GetElements method (gdiplusmatrix.h)

The Matrix::GetElements method gets the elements of this matrix. The elements are placed in an array in the order m11, m12, m21, m22, m31, m32, where mij denotes the element in row i, column j.

Syntax

Status GetElements(
  [out] REAL *m
);

Parameters

[out] m

Type: REAL*

Pointer to an array that receives the matrix elements. The size of the array should be 6 ×sizeof( REAL).

Return value

Type: Status

If the method succeeds, it returns OK, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusmatrix.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Global and Local Transformations

Matrix

Matrix Representation of Transformations

Matrix::SetElements

Transformations