Class: Wx::MappingMode
Overview
The mapping used to transform logical units to device units.
See DC#set_map_mode.
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)
Method Summary
Methods inherited from Enum
#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~
Constructor Details
This class inherits a constructor from Wx::Enum
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wx::Enum