いち:
◙ SetMapMode(MM_ANISOTROPIC);
pDC->SetMapMode(MM_ANISOTROPIC);//映射的模式.
pDC->SetWindowExt(1440,1440);// 设置每1440个点为一个Window-Logical-Unit
pDC->SetViewportExt(pDC->GetDeviceCaps(LOGPIXELSX),
pDC->GetDeviceCaps(LOGPIXELSY));
◙ CFont:: CreateFont//creates a logical font
◙ GetTextMetrics//得到字体信息.
◙ TRACE("points = %d, tmHeight = %d, tmInternalLeading = %d," " tmExternalLeading = %d/n", nPoints, tm.tmHeight,
tm.tmInternalLeading, tm.tmExternalLeading);//记录调试对象.
に:
◙ 逻辑坐标和设备坐标
逻辑坐标:物理尺寸.
设备坐标:CPoint Point 的坐标.
版权声明:本文为博主原创文章,未经博主允许不得转载。