Reference

ModifyWorldTransform(3w)

NAME

ModifyWorldTransform (GDI32.@)

SYNOPSIS

BOOL ModifyWorldTransform
(
HDC hdc,
const XFORM* xform,
DWORD iMode
)

DESCRIPTION

Modifies the world transformation for a device context.

PARAMS

hdc [In] Handle to device context.

xform [In] XFORM structure that will be used to modify the world transformation.

iMode [In] Specifies in what way to modify the world transformation Possible values: MWT_IDENTITY Resets the world transformation to the identity matrix. The parameter xform is ignored. MWT_LEFTMULTIPLY Multiplies xform into the world transformation matrix from the left. MWT_RIGHTMULTIPLY Multiplies xform into the world transformation matrix from the right.

RETURNS

Success: TRUE.

Failure: FALSE. Use GetLastError(3w) to determine the cause.

IMPLEMENTATION

Defined in "gdi_private.h".

Implemented in "dlls/gdi32/dc.c".

Debug channel "dc".

History