# Function Reference

# _WinAPI_GetWorldTransform

Retrieves the current world-space to page-space transformation

#include <WinAPIGdi.au3>
_WinAPI_GetWorldTransform ( $hDC )

## Parameters

$hDC | Handle to the device context.

## Return Value

Success: | $tagXFORM structure that contains the current world-space to page-space transformation.
Failure: | Sets the @error flag to non-zero.

## Remarks

The precision of the transformation may be altered if an application calls the _WinAPI_ModifyWorldTransform()
prior to calling _WinAPI_GetWorldTransform(). This is because the internal format for storing transformation
values uses a higher precision than a FLOAT value.

## Related

_WinAPI_ModifyWorldTransform

## See Also

Search GetWorldTransform in MSDN Library.