Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CRect r;
- GetClientRect(&r);
- int x = r.Width()/2;
- int y = r.Height()/2;
- dc->SetMapMode(MM_ISOTROPIC);
- dc->SetWindowExt(1,-1);
- dc->SetViewportOrg(x,y);
- dc->SetViewportExt(1,1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement