Function
to set Map Mode: virtual intSetMapMode(intnMapMode);
- MM_ANISOTROPIC Logical units are converted to arbitrary units
with arbitrarily scaled axes. Setting the mapping mode to MM_ANISOTROPIC does
not change the current window or viewport settings. To change the units,
orientation, and scaling, call the SetWindowExt and SetViewportExt member functions.
- MM_HIENGLISH: 0.001 inch. Positive x: right; positive y: up.
- MM_HIMETRIC: 0.01 millimeter. Positive x:
right; positive y: up.
- MM_ISOTROPIC Logical units are converted to arbitrary units
with equally scaled axes; that is, 1 unit along the x-axis is equal to 1
unit along the y-axis. Use theSetWindowExt and SetViewportExt member
functions to specify the desired units and the orientation of the axes.
GDI makes adjustments as necessary to ensure that the x and y units remain
the same size.
- MM_LOENGLISH: 0.01 inch. Positive x: right; positive y: up.
- MM_LOMETRIC: 0.1 millimeter. Positive x: right; positive y: up.
- MM_TEXT: 1 device pixel. Positive x: right; positive y: down.
- MM_TWIPS: 1/20 of a point. (Because a point is 1/72 inch, a twip is
1/1440 inch.) Positive x: right; positive y: up.
No comments:
Write comments