Group: Coordinate Space and Transformation - Library: gdi32
int SetMapMode(
HDC hdc, // handle to device context
int fnMapMode // new mapping mode
);
DECLARE INTEGER SetMapMode IN gdi32;
INTEGER hdc, INTEGER fnMapMode
hdc [in] Handle to the device context.
fnMapMode [in] Specifies the new mapping mode.
If the function succeeds, the return value identifies the previous mapping mode.
The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device"s x and y axes.
See also: GetMapMode.