void CMyView::OnDraw(CDC *pDC)
{
CRect rectClient;
GetClientRect(rectClient);
pDC->SetMapMode(MM_ANISOTROPIC);
pDC->SetWindowExt(1000,1000);
pDC->SetViewportExt(rectClient.right,-rectClient.bottom);
pDC->SetViewOrg(rectClient.right/2,rectClient.bottom/2);
pDC->Ellipse(CRect(-500,-500,500,500));
问:-rectClient.bottom用正的也对(第七行)为什么?
问:将最后一行换成(-500,500,500,-500)也对为什么?