Click to See Complete Forum and Search --> : Problem using MM_HIMETRIC mapping mode


Tonio
April 5th, 1999, 08:04 PM
Good Day!
For the time being, I'm using MM_LOMETRIC for my CDC object, and it works fine,
but I need a fine-line-printing or higher resolution for my drawing that's why
I have considered using MM_HIMETRIC.
My print area extends up to 1000mm x 700mm (in paper size) which means, the
CDC object must allow up to 100,000 logical units. Knowing the limitations
of the GDI functions with accepting value bigger than 32767 and smaller than
-32767 (Martin Speiser's info), does anybody has a suggestion or idea on how
I can work-around this problem?
Everything will be appreciated. Thanks.

Jerry Coffin
April 6th, 1999, 02:00 AM
You've got three basic options:
1) Restrict your app to Windows NT, in which case 100,000 logical units isn't a problem.

2) Use MM_ISOMETRIC to create a mapping mode in which you have around 32 logical units per mm. This is about 30% finer resolution than most current printers, but not as fine as high-end publishing stuff.

3) Creat your own logical units (probably in floating point) and do your own mapping from this to device units. This often isn't nearly as difficult as it sounds like.



The universe is a figment of its own imagination.