Group: Coordinate Space and Transformation - Library: gdi32
BOOL GetWorldTransform(
HDC hdc, // handle to device context
LPXFORM lpXform // transformation
); DECLARE INTEGER GetWorldTransform IN gdi32;
INTEGER hdc,;
STRING @lpXform hdc [in] Handle to the device context.
lpXform [out] Pointer to an XFORM structure that receives the current world-space to page-space transformation.
If the function succeeds, the return value is nonzero.
Conversion function float2int is described in VFP Floating Point Data Type topic on FoxPro Wiki.
The SetWorldTransform function will fail unless the graphics mode for the given device context has been set to GM_ADVANCED by previously calling the SetGraphicsMode function.
See also: SetWorldTransform.
Home