MvcViewport::LPtoDP

Convert logical units to device units

Defined in: MvcViewport.cpp

Syntax

LPtoDP( LPPOINT lpPoints, int nCount ) const

LPtoDP( LPRECT lpRect ) const

LPtoDP( LPSIZE lpSize ) const

Return Value

void

Parameters

lpPoints

An array of points to convert

nCount

The number of points in the array

lpRect

A rectangle to convert

lpSize

A size to convert

Comments

This is a convenience function for the controller. It allows the controller to easily map logical to device points without having to instantiate a DC.