CODGlobal::PointsToLogical
intCODGlobal::PointsToLogical(const intnPoints, CDC*pDC= NULL, BOOLbVertical= TRUE)
Converts a point size into logical units based on a device context. If the device context is not defined, the screen device context is used.
Defined in: OdGlobal.cpp
Return Value
The equivalent of the point size in logical units.
Parameters
nPoints
The point size to calculate the logical units from.
Comments
A point is a real world measurement. One point is 1/72 of an inch.pDC
The device context to use for the calculation.
bVertical
TRUE to convert using the Y axis, FALSE to use the X axis.