Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.11 KB

GdipCreateMatrix.md

File metadata and controls

50 lines (31 loc) · 1.11 KB

Home

Function name : GdipCreateMatrix

Group: GDI+ Matrix - Library: gdiplus


Creates and initializes a Matrix object that represents the identity matrix.


Code examples:

Custom GDI+ class
GDI+: Using Scale and Shear transformations

Declaration:

GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix **matrix)
  

FoxPro declaration:

DECLARE INTEGER GdipCreateMatrix IN gdiplus;
	INTEGER @ matrix  

Parameters:

matrix [out] Handle to the Matrix object.


Return value:

Returns GpStatus value, 0 means success.


Comments:

A transformation matrix that doesn"t have any effect when applied to a point. Technically, the matrix is composed of all zeros with just the diagonal having ones.

See also: GdipCreateMatrix2, GdipDeleteMatrix.