The GetWorldTransform function retrieves the current world-space to page-space transformation.
BOOL GetWorldTransform(
HDC hdc, | // handle to the device context |
LPXFORM lpXform | // pointer to the structure receiving transformation |
); |
Parameters
hdc
Identifies the device context.
lpXform
Points to an XFORM structure that receives the current world-space to page-space transformation.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The precision of the transformation may be altered if an application calls the ModifyWorldTransform function prior to calling GetWorldTransform. (This is because the internal format for storing transformation values uses a higher precision than a FLOAT value.)
See Also