Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.18 KB

File metadata and controls

60 lines (41 loc) · 1.18 KB

Home

Function name : GdipTranslateMatrix

Group: GDI+ Matrix - Library: gdiplus


Updates this matrix with the product of itself and a translation matrix.


Code examples:

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

Declaration:

GpStatus WINGDIPAPI GdipTranslateMatrix(
	GpMatrix *matrix,
	REAL offsetX,
	REAL offsetY,
	GpMatrixOrder order
)
  

FoxPro declaration:

DECLARE INTEGER GdipTranslateMatrix IN gdiplus;
	INTEGER matrix,;
	SINGLE  offsetX,;
	SINGLE  offsetY,;
	INTEGER ord
  

Parameters:

matrix [in] Handle to the Matrix object.

offsetX [in] Real number that specifies the horizontal component of the translation.

offsetY [in] Real number that specifies the vertical component of the translation.

order [in] Element of the MatrixOrder enumeration that specifies the order of the multiplication.


Return value:

Returns GpStatus value, 0 means success.