Use this operator to add the x (or cx) member of the right-hand operand to the x member of the CPoint object and the y (or cy) member of the right-hand operand to the y member of the CPoint object.
void operator +=( SIZE size );
void operator +=( POINT point );
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::Offset