1, SetMapModeThe SetMapMode function sets the mapping mode of the specified device context. 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.
Int setmapmode (HDC HDC, // Handle of Device Context Int fnmapmode // new maping mode);
2, CDC :: SetViewPortext Virtual Csize SetViewPortext (int CX, INT CY);
Virtual CSIZE SETVIEWPORTEXT (SIZE SIZE);
3, cdc :: setWindowext Virtual Csize SetWindowext (int Cx, INT CY);
Virtual CSIZE SETWINDOWEXT (SIZE SIZE);