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.
CPoint::Offset
CPoint                                      Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void Offset( int xOffset, int yOffset );
  void Offset( POINT point );
  void Offset( SIZE initSize );
 
  Parameter   Description
 
  <xOffset>   Specifies the amount to offset the x member of the CPoint.
 
  <yOffset>   Specifies the amount to offset the y member of the CPoint.
 
  <point>     Specifies the amount to offset the CPoint.
 
  <initSize>  Specifies the amount to offset the CPoint.
 
  Remarks
 
  Adds separate values to the x and y members of the CPoint.
 
  Return Value
 
  A CPoint offset by a POINT, CPoint, or Size.
 
 
                                     -♦-