public enum HwmfMapMode
A 16-bit unsigned integer that defines the mapping mode.
The MapMode defines how logical units are mapped to physical units;
that is, assuming that the origins in both the logical and physical coordinate systems
are at the same point on the drawing surface, what is the physical coordinate (x',y')
that corresponds to logical coordinate (x,y).
For example, suppose the mapping mode is MM_TEXT. Given the following definition of that
mapping mode, and an origin (0,0) at the top left corner of the drawing surface, logical
coordinate (4,5) would map to physical coordinate (4,5) in pixels.
Now suppose the mapping mode is MM_LOENGLISH, with the same origin as the previous
example. Given the following definition of that mapping mode, logical coordinate (4,-5)
would map to physical coordinate (0.04,0.05) in inches.
Each logical unit is mapped to one twentieth (1/20) of a point.
In printing, a point is 1/72 of an inch; therefore, 1/20 of a point is 1/1440 of an inch.
This unit is also known as a "twip".
Positive x is to the right; positive y is up.
Logical units are mapped to arbitrary device units with equally scaled axes;
that is, one unit along the x-axis is equal to one unit along the y-axis.
The META_SETWINDOWEXT and META_SETVIEWPORTEXT records specify the units and the
orientation of the axes.
The processing application SHOULD make adjustments as necessary to ensure the x and y
units remain the same size. For example, when the window extent is set, the viewport
SHOULD be adjusted to keep the units isotropic.
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (HwmfMapMode c : HwmfMapMode.values())
an array containing the constants of this enum type, in the order they are declared
public static HwmfMapMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
name - the name of the enum constant to be returned.
the enum constant with the specified name
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null