Unit


This enum contains logical to physical unit mappings for a device context.

Pixel Each logical unit is one device pixel. Positive x is to the right and positive y is down.
LowMetric Each logical unit is 0.1 millimeter. Positive x is to the right and positive y is up.
HighMetric Each logical unit is 0.01 millimeter. Positive x is to the right and positive y is up.
LowEnglish Each logical unit is 0.01 inch. Positive x is to the right and positive y is up.
HighEnglish Each logical unit is 0.001 inch. Positive x is to the right and positive y is up.
Twips Each logical unit is mapped to one twentieth of a printer's point (1/1440 inch = twip). Positive x is to the right; positive y is up.
Isotropic Logical units are mapped to arbitrary units with equally scaled axes. One unit along the x-axis is equal to one unit along the y-axis. The functions SetWindowExtent and SetViewportExtent may be used to specify the units and orientation of the axes. The graphics system ensures that units remain isotropic by adjusting the viewport whenever the window extent is changed.
Anisotropic Logical units are mapped to arbitrary units with arbitrarily scaled axes. The functions SetWindowExtent and SetViewportExtent may be used to specify the units and orientation of the axes.

Details

Name Space IPlusPlus::Graphics
Assembly IPlusPlus.Constants.dll