Group: GDI+ Graphics - Library: gdiplus
Updates this Graphics object"s world transformation matrix with the product of itself and a translation matrix.
GpStatus WINGDIPAPI GdipTranslateWorldTransform(
GpGraphics *graphics,
REAL dx,
REAL dy,
GpMatrixOrder order
)
DECLARE INTEGER GdipTranslateWorldTransform IN gdiplus;
INTEGER graphics,;
SINGLE dx,;
SINGLE dy,;
INTEGER ord
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.
Returns GpStatus value, 0 means success.
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.