|
-
May 2nd, 1999, 04:01 PM
#1
Converting...
is it right way to convert HIMETRIC cordinats to pixels? (MFC VC50))
dc.SetMapMode(MM_HIMETRIC);
CSize sz; CRect rect;
sz.cx = rect.left; sz.cy = rect.top;
dc.HIMETRICtoLP(&sz);
rect.left = sz.cx; rect.top = sz.cy;
sz.cx = rect.right; sz.cy = rect.bottom;
dc.HIMETRICtoLP(&sz);
rect.right = sz.cx; rect.bottom = sz.cy;
<br%3
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
|