win32gui.ModifyWorldTransform

ModifyWorldTransform(hdc, Xform, Mode)

Combines a coordinate tranformation with device context's current transformation

Parameters

hdc : PyHANDLE

Handle to a device context

Xform : PyXFORM

Transformation to be applied. Ignored if Mode is MWT_IDENTITY.

Mode : int

One of win32con.MWT_* values specifying how transformations will be combined

Comments

DC's mode must be set to GM_ADVANCED. See win32gui::SetGraphicsMode.