|
-
September 22nd, 2005, 05:40 AM
#1
How to create DC with specific resolution?
Hi GURUs,
Do you know how to create DC with specific resolution? Normally, I created DC by calling CDC::CreateCompatibleDC(NULL);. This will create the DC with the screen resolution (96dpi). If you call CDC::GetDeviceCaps(LOGPIXELSX);, you will see that the return value is 96.
So, I am just wondering, how to create a DC with specific resolution such as 200x200 or 120x103, etc...? If this is not possible, how to set the temporary resolution of the DC at runtime?
Thanks for any help in advance...
Cheers
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
|
Click Here to Expand Forum to Full Width
|