Skip to content

Latest commit

 

History

History
81 lines (56 loc) · 1.65 KB

File metadata and controls

81 lines (56 loc) · 1.65 KB

Home

Function name : GdipCreateMatrix2

Group: GDI+ Matrix - Library: gdiplus


Creates and initializes a 3x3 matrix that represents an affine transformation.


Code examples:

Custom GDI+ class

Declaration:

GpStatus WINGDIPAPI GdipCreateMatrix2(
	REAL m11,
	REAL m12,
	REAL m21,
	REAL m22,
	REAL dx,
	REAL dy,
	GpMatrix **matrix
)
  

FoxPro declaration:

DECLARE INTEGER GdipCreateMatrix2 IN gdiplus;
	SINGLE m11,;
	SINGLE m12,;
	SINGLE m21,;
	SINGLE m22,;
	SINGLE dx,;
	SINGLE dy,;
	INTEGER @matrix  

Parameters:

m11 [in] Real number that specifies the element in the first row, first column.

m12 [in] Real number that specifies the element in the first row, second column.

m21 [in] Real number that specifies the element in the second row, first column.

m22 [in] Real number that specifies the element in the second row, second column.

dx [in] Real number that specifies the element in the third row, first column.

dy [in] Real number that specifies the element in the third row, second column.

matrix [out] Handle to the Matrix object.


Return value:

Returns GpStatus value; 0 means success.


Comments:

The affine transformation is a transformation that is a combination of single transformations such as translation or rotation or reflection on an axis.

See also: GdipCreateMatrix, GdipDeleteMatrix.