15,979
社区成员
发帖
与我相关
我的任务
分享
void CtesetView::OnDraw(CDC*pDC)
{
CRect rectClient;
GetClientRect(rectClient);
pDC->SetMapMode(MM_ANISOTROPIC);
pDC->SetWindowExt(1000, 1000);
pDC->SetViewportExt(rectClient.right, -rectClient.bottom);
pDC->SetViewportOrg(rectClient.right/2, rectClient.bottom/2);
pDC->Ellipse(CRect(-500, -500, 500, 500));
// TODO: add draw code for native data here
}