Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CDC::LPtoDP
◄CDC►                                         ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void LPtoDP( LPPOINT lpPoints, int nCount = 1 ) const;
  void LPtoDP( LPRECT lpRect ) const;
 
  Parameter   Description
 
  <lpPoints>  Points to an array of points. Each point in the array is a
              ◄POINT► structure or a ◄CPoint► object.
 
  <nCount>    Specifies the number of points in the array.
 
  <lpRect>    Points to a ◄RECT► structure or a ◄CRect► object. This
              parameter is used for the common case of mapping a rectangle
              from logical to device units.
 
  Remarks
 
  Converts logical points into device points. The function maps the
  coordinates of each point from GDI's logical coordinate system into a
  device coordinate system. The conversion depends on the current mapping
  mode.
 
  See Also
 
  ◄::LPtoDP►
 
 
                                     -♦-