- SetMapMode(dc.m_hDC,MM_LOMETRIC);
- int width = GetDeviceCaps(dc.m_hDC,PHYSICALWIDTH);
- int height = GetDeviceCaps(dc.m_hDC,PHYSICALHEIGHT);
- SetViewportOrgEx(dc.m_hDC,0,height,NULL);
- SetWindowOrgEx(dc.m_hDC,-m_marginWidth,-m_marginHeight,NULL);
+ SetMapMode(dc.m_hDC, MM_LOMETRIC);
+ int width = GetDeviceCaps(dc.m_hDC, PHYSICALWIDTH);
+ int height = GetDeviceCaps(dc.m_hDC, PHYSICALHEIGHT);
+ SetViewportOrgEx(dc.m_hDC, 0, height, NULL);
+ SetWindowOrgEx(dc.m_hDC, -m_marginWidth, -m_marginHeight, NULL);