CODMeasure::MeasureLogicalUnit

voidCODMeasure::MeasureLogicalUnit(const intnMapMode, const CSize&szWndExt, const CSize&szVpExt, CODMeasure&logXUnit, CODMeasure&logYUnit)

Measures the size of one logical unit on the screen.

Defined in: OdMeasure.cpp

Return Value

void

Parameters

nMapMode

Mapping mode.

szWndExt

Window extents.

szVpExt

Viewport extents.

logXUnit

Output parameter for measurement of one logical unit along the X axis.

logYUnit

Output parameter for measurement of one logical unit along the Y axis.

Comments

This function sets the output parameters to contain a measurement of one logical unit along the X and Y axes. For example, in MM_LOMETRIC one logical unit is 0.1 millimeters. For MM_TEXT, MM_ISOTROPIC, and MM_ANISOTROPIC the screen resolution is used to determine the size of one logical unit.