CMvcLogicalPart::LPtoLP

boolCMvcLogicalPart::LPtoLP(const intnTargetMode, int&cx, int&cy)

Map logical point to units specified by the given mapping mode.

Defined in: MvcLogicalPart.h

Return Value

TRUE if the conversion was successful, otherwise FALSE

Parameters

nTargetMode

Specifies logical units to convert to.

cx

Reference to width to be mapped

cy

Reference to height to be mapped

Comments

This function not attempt conversion if the source mode is MM_ANISOTROPIC or MM_ISOTROPIC, or if the current mapping mode is the same as the source mode. Otherwise a conversion will be made.