Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
class CPoint
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  Description
 
  The CPoint class is similar to a Windows POINT structure and also
  includes member functions to manipulate CPoint and POINT structures.
 
  A CPoint object can be used wherever a POINT structure is used.
 
  See Also
 
  CRect, CSize
 
  Public Members
 
  Construction/Destruction
 
  CPoint   Constructs a CPoint.
 
  Operations
 
  Offset        Adds separate values to the x and y members of the
                  CPoint.
 
  operator ==   Checks for equality between two points.
 
  operator !=   Checks for inequality between two points.
 
  operator +=   Offsets a CPoint by a size.
 
  operator -=   Subtracts a size from the CPoint.
 
  Operators Returning CPoint Values
 
  operator +   Returns a CPoint offset by a size.
 
  operator -   Returns a CPoint offset by a negative size.
 
  Operators Returning CSize Values
 
  operator -   Returns the size difference between two points.
 
 
                                     -♦-