2.5.3 Mapping Functions

Mapping functions alter and retrieve information about the GDI mapping modes. Following are the mapping functions:

Function Description

GetMapMode Retrieves the current mapping mode.
GetViewportExt Retrieves the viewport extents of a device context.
GetViewportExtEx Retrieves viewport extents.
GetViewportOrg Retrieves the viewport origin of a device context.
GetViewportOrgEx Retrieves viewport origin.
GetWindowExt Retrieves the window extents of a device context.
GetWindowExtEx Retrieves window extents.
GetWindowOrg Retrieves the window origin of a device context.
GetWindowOrgEx Retrieves window origin.
OffsetViewportOrg Modifies a viewport origin.
OffsetViewportOrgEx Moves viewport origin.
OffsetWindowOrg Modifies a window origin.
OffsetWindowOrgEx Moves window origin.
ScaleViewportExt Modifies the viewport extents.
ScaleViewportExtEx Scales viewport extents.
ScaleWindowExt Modifies the window extents.
ScaleWindowExtEx Scales window extents.
SetMapMode Sets the mapping mode of a specified device context.
SetViewportExt Sets the viewport extents for a device context.
SetViewportExtEx Sets viewport extents.
SetViewportOrg Sets the viewport origin for a device context.
SetViewportOrgEx Sets viewport origin.
SetWindowExt Sets the window extents for a device context.
SetWindowExtEx Sets window extents.
SetWindowOrg Sets the window origin for a device context.
SetWindowOrgEx Sets the window origin.