Matrix::Matrix(constRectF&,constPointF*) method (gdiplusmatrix.h)

Creates a Matrix::Matrix object based on a rectangle and a point.

Syntax

void Matrix(
  [in, ref] const RectF & rect,
  [in]      const PointF  *dstplg
);

Parameters

[in, ref] rect

Type: const RectF

Reference to a RectF object. The X data member of the rectangle specifies the matrix element in row 1, column 1. The Y data member of the rectangle specifies the matrix element in row 1, column 2. The Width data member of the rectangle specifies the matrix element in row 2, column 1. The Height data member of the rectangle specifies the matrix element in row 2, column 2.

[in] dstplg

Type: const PointF*

Pointer to a PointF object. The X data member of the point specifies the matrix element in row 3, column 1. The Y data member of the point specifies the matrix element in row 3, column 2.

Return value

None

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 Constructors

Matrix Representation of Transformations

PointF

RectF

Transformations