函数蹲点【1】

来源:互联网 发布:淘宝注销不了 编辑:程序博客网 时间:2024/04/28 17:24

1、SetMapMode
The 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 mapping 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 );