Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 1.43 KB

GdipTranslateWorldTransform.md

File metadata and controls

72 lines (50 loc) · 1.43 KB

Home

Function name : GdipTranslateWorldTransform

Group: GDI+ Graphics - Library: gdiplus


Updates this Graphics object"s world transformation matrix with the product of itself and a translation matrix.


Declaration:

GpStatus WINGDIPAPI GdipTranslateWorldTransform(
	GpGraphics *graphics,
	REAL dx,
	REAL dy,
	GpMatrixOrder order
)
  

FoxPro declaration:

DECLARE INTEGER GdipTranslateWorldTransform IN gdiplus;
	INTEGER graphics,;
	SINGLE  dx,;
	SINGLE  dy,;
	INTEGER ord
  

Parameters:

graphics [in] Handle to the Graphics object.

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

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

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


Return value:

Returns GpStatus value, 0 means success.


Comments:

typedef enum {  
    MatrixOrderPrepend = 0,  
    MatrixOrderAppend = 1  
} MatrixOrder;

MatrixOrderPrepend
Specifies that the new matrix is on the left and the existing matrix is on the right.

MatrixOrderAppend
Specifies that the existing matrix is on the left and the new matrix is on the right.