ILogCoordinatesImpl::LPtoDP

Convert logical units to device units

Defined in: LogCoordinatesImpl.h

Syntax

void LPtoDP(LPPOINT lpPoints, int nCount) const

void LPtoDP(LPRECT lpRect) const

void LPtoDP(LPSIZE lpSize) const

Return Value

void

Parameters

lpPoints

A pointer to an array of points to convert.

lpRect

A logical rectangle to convert

lpSize

A logical size to convert

Comments

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

nCount

The number of points in the array