Description
Updates this brush's current transformation
matrix with the product of itself and a translation matrix.
Syntax
GpStatus WINGDIPAPI GdipTranslateLineTransform(
GpLineGradient*
brush,
REAL dx,
REAL dy,
GpMatrixOrder
order
);
PowerBASIC Syntax
DECLARE FUNCTION GdipTranslateLineTransform ( _
BYVAL brush AS
DWORD, _
BYVAL dx AS
SINGLE, _
BYVAL dy AS
SINGLE, _
BYVAL order AS
LONG _
) AS LONG
Parameters
brush
[in] Pointer to the
LinearGradientBrush
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 the 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.
|