Use this operator to offset CPoint by a CPoint or CSize object, or to offset a CRect by a CPoint.
CPoint operator +( SIZE size ) const;
CPoint operator +( POINT point ) const;
CRect operator +( const RECT* lpRect ) const;
| Header file: | Afxwin.h |
| Platforms: | |
| Versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
CPoint Overview, CPoint Operators, Simple Value Types, CPoint::operator –=, CPoint::operator –, CPoint::operator +=, CSize::operator +, CRect::operator +, CPoint::Offset, CRect::OffsetRect