Right now, im working with variable scale mapping modes (MM_ISOTROPIC && MM_ANISOTROPIC)
and in my book that im going through i encounter two functions CDC::SetWindowExt()
and CDC::SetViewPortExt(), now the book only says that it sets the 'scale'
for the mapping mode. Is that all it does? The book used it as follows:

CRect rectClient;

GetClientRect(rectClient);

pDC->SetWindowExt(1000,1000);
pDC->SetViewPortExt(rectClient.bottom,rectClient.right);

//More code (Not related to mapping)
...

Now can someone explain what that does? Please go in detail here as much
as you can. I've read the MFC documentation on these functions and it does
not really clarify this... so please could someone clear this up?

-Thank you.