Class: Wx::MappingMode
- Inherits:
-
Enum
- Object
- Enum
- Wx::MappingMode
- Defined in:
- lib/wx/doc/gen/dc.rb
Overview
The mapping used to transform logical units to device units.
See DC::SetMapMode.
Constant Summary collapse
- MM_TEXT =
Each logical unit is 1 device pixel.
Wx::MappingMode.new(1)
- MM_METRIC =
Each logical unit is 1 millimeter.
Wx::MappingMode.new(2)
- MM_LOMETRIC =
Each logical unit is 1/10 of a millimeter.
Wx::MappingMode.new(3)
- MM_TWIPS =
Each logical unit is 1/20 of a "printer point", or 1/1440 of an inch (also known as "twip").
Wx::MappingMode.new(4)
- MM_POINTS =
Each logical unit is a "printer point" i.e. 1/72 of an inch.
Wx::MappingMode.new(5)