Matrix.Matrix(const Rect, const Point*) constructor

Applies to: desktop apps only

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

Syntax

Matrix(
  [in, ref]  const Rect &rect,
  [in]       const Point *dstplg
);

Parameters

  • rect [in, ref]
    Type: const Rect

    Reference to a Rect 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.

  • dstplg [in]
    Type: const Point*

    Pointer to a Point 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.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusmatrix.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

Matrix

Matrix Constructors

Point

Rect

Transformations

Global and Local Transformations

Matrix Representation of Transformations

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012