CODRulerWrapper_T::CalculateLogicalUnits

voidCODRulerWrapper_T::CalculateLogicalUnits(CDC*pDC)

Convert any real-world measurements, such as points, to logical units using the given device context.

Defined in: OdRulerWrapper.h

Return Value

void

Parameters

pDC

Pointer to device context to use for conversions.

Comments

This class overrides the base class implementation of this function in order to update the logical dimensions of the ruler components. This done by calling  SetRulerWidth with the current ruler width.

See Also

CODViewport::CalculateLogicalUnits,  SetRulerWidth