-
SetWindowExt() and SetViewPortExt()
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks