CODRulerComponent::CalculateLogicalUnits

voidCODRulerComponent::CalculateLogicalUnits(CDC*pDC)

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

Defined in: OdRulerComp.cpp

Return Value

void

Parameters

pDC

Pointer to ruler to use for conversion.

Comments

The ruler component overrides this method to make sure that the font height is always calculated based on the MM_TEXT mapping mode, because  OnDraw uses MM_TEXT for drawing the numbers on the ruler.