Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
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.
 
 
                                     -♦-