ILogCoordinatesImpl::DPtoLP

Convert device units to logical units

Defined in: LogCoordinatesImpl.h

Syntax

void DPtoLP(LPPOINT lpPoints, int nCount) const

void DPtoLP(LPRECT lpRect) const

void DPtoLP(LPSIZE lpSize) const

Return Value

void

Parameters

lpPoints

A pointer to an array of points to convert.

lpRect

A container rectangle to convert

lpSize

A container size to convert

Comments

Use this function to convert an array of points, a rectangle, or a size from device units to logical units. The implementation of this function in this class simply calls CPtoLP. However, derived classes may define container and device units differently.

nCount

The number of points in the array