com.jniwrapper.win32.gdi
Class DC.MappingMode

java.lang.Object
  extended bycom.jniwrapper.util.EnumItem
      extended bycom.jniwrapper.win32.gdi.DC.MappingMode
Enclosing class:
DC

public static class DC.MappingMode
extends com.jniwrapper.util.EnumItem

Enumeration of available mapping modes.


Field Summary
static DC.MappingMode ANISOTROPIC
          Each logical unit is mapped to one twentieth of a printer's point (1/1440 inch, also called a twip).
static DC.MappingMode HIENGLISH
          Each logical unit is mapped to 0.01 inch.
static DC.MappingMode HIMETRIC
          Each logical unit is mapped to 0.01 millimeter.
static DC.MappingMode ISOTROPIC
          Each logical unit is mapped to one device pixel.
static DC.MappingMode LOENGLISH
          Logical units are mapped to arbitrary units with equally scaled axes; that is, one unit along the x-axis is equal to one unit along the y-axis.
static DC.MappingMode LOMETRIC
          Each logical unit is mapped to 0.001 inch.
static DC.MappingMode TEXT
          Logical units are mapped to arbitrary units with arbitrarily scaled axes.
static DC.MappingMode TWIPS
          Each logical unit is mapped to 0.1 millimeter.
 
Methods inherited from class com.jniwrapper.util.EnumItem
equals, getLongValue, getValue, hashCode, isOneOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT

public static DC.MappingMode TEXT
Logical units are mapped to arbitrary units with arbitrarily scaled axes. Use the SetWindowExtEx and SetViewportExtEx functions to specify the units, orientation, and scaling.


LOMETRIC

public static DC.MappingMode LOMETRIC
Each logical unit is mapped to 0.001 inch. Positive x is to the right; positive y is up.


HIMETRIC

public static DC.MappingMode HIMETRIC
Each logical unit is mapped to 0.01 millimeter. Positive x is to the right; positive y is up.


LOENGLISH

public static DC.MappingMode LOENGLISH
Logical units are mapped to arbitrary units with equally scaled axes; that is, one unit along the x-axis is equal to one unit along the y-axis.


HIENGLISH

public static DC.MappingMode HIENGLISH
Each logical unit is mapped to 0.01 inch. Positive x is to the right; positive y is up.


TWIPS

public static DC.MappingMode TWIPS
Each logical unit is mapped to 0.1 millimeter. Positive x is to the right; positive y is up.


ISOTROPIC

public static DC.MappingMode ISOTROPIC
Each logical unit is mapped to one device pixel. Positive x is to the right; positive y is down.


ANISOTROPIC

public static DC.MappingMode ANISOTROPIC
Each logical unit is mapped to one twentieth of a printer's point (1/1440 inch, also called a twip). Positive x is to the right; positive y is up.