
Next: set-optimization
Up: wx:dc
Previous: set-logical-function
The mapping mode of the device context defines the unit of
measurement used to convert logical units to device units. Text
drawing is not handled consistently with the mapping mode on some platforms.
(Setting the user scale does scale the text appropriately; see
set-user-scale.) Also, the mapping mode is currently ignored for
PostScript output.
The mapping mode can be one of the following:
- wx:const-mm-twips -- each logical unit is 1/20 of a point, or 1/1440 of
an inch
- wx:const-mm-points -- each logical unit is a point, or 1/72 of an inch
- wx:const-mm-metric -- each logical unit is 1 millimeter
- wx:const-mm-lometric - each logical unit is 1/10 of a millimeter
- wx:const-mm-text -- each logical unit is 1 pixel
- (send a-wx:dc set-map-mode int) -> void
int : small integer
PLT