get_world_transform


bool get_world_transform(handle device,
                       xform* transform)

This function obtains the world transformation.

Parameters

handle device

The handle of the device context.

xform* transform

A pointer to a buffer to hold the world to page transformation of the device context.

Return

bool

true The function succeeded.
false The call failed.

Notes

The world transformation maps from the world space to the page space.