#include <mi32/stddefns.h>
Include dependency graph for scrnunit.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Enumerations | |
| enum | SCREENUNIT { SCREENUNIT_Inches = 0, SCREENUNIT_Millimeters = 1, SCREENUNIT_mm = SCREENUNIT_Millimeters, SCREENUNIT_Points = 2, SCREENUNIT_Pixels = 3, SCREENUNIT_1OverInches = 4, SCREENUNIT_MetersAtCurrentScale = 5, SCREENUNIT_Arbitrary = 6, SCREENUNIT_Object = 7, SCREENUNIT_COUNT = 8 } |
Functions | |
| double | ConvertScreenUnits (double val, int iunit, int ounit, double MapScale=1.0) |
| double | ConvertScreenUnits (double val, double mmPerPixel, double MapScale, int iunit, int ounit) |
| double | GetScreenPixelSizeMM () |
| double | MwinGetPixelSizeMM (void *hdc) |
Definition in file scrnunit.h.
|
|
Screen unit enumeration values. These values are stored in files and thus must not change.
Definition at line 60 of file scrnunit.h. |
|
||||||||||||||||||||
|
Convert SCREENUNIT value using pixel size determined from screen.
|
|
||||||||||||||||||||||||
|
Convert SCREENUNIT value using given "pixel size".
|
|
|
Get screen pixel size in millimeters.
|
|
|
Get screen pixel size in millimeters using device context (WIN32_NATIVE only).
|
1.3.8-20040913