CODViewport::CalculateLogicalUnits

void CODViewport::CalculateLogicalUnits(CDC* pDC)

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

Defined in: OdViewport.cpp

Return Value

void

Parameters

pDC

Pointer to ruler to use for conversion.

Comments

The purpose of this function is to update anything in the viewport and model that is affected by a change in the coordinate mapping. This includes properties, such as font and line width properties, that are specified in points and must be converted to logical units based on the coordinate mapping.