GdipTranslateWorldTransform

 

 

Description

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

Syntax

GpStatus WINGDIPAPI GdipTranslateWorldTransform(

    GpGraphics *graphics,

    REAL dx,

    REAL dy,

    GpMatrixOrder order

);

PowerBASIC Syntax

DECLARE FUNCTION GdipTranslateWorldTransform ( _

    BYVAL graphics AS DWORD, _

    BYVAL dx AS SINGLE, _

    BYVAL dy AS SINGLE, _

    BYVAL order AS LONG _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

dx

[in] Simple precision value that specifies the horizontal component of the translation.

dy

[in] Simple precision value that specifies the vertical component of the translation.

order

[in] Element of the MatrixOrder enumeration that specifies the order of multiplication. MatrixOrderPrepend specifies that the translation matrix is on the left, and MatrixOrderAppend specifies that the translation matrix is on the right. The default value is MatrixOrderPrepend.

 

Valid HTML 4.01 Transitional