CPoint::operator +

Use this operator to offset CPoint by a CPoint or CSize object, or to offset a CRect by a CPoint.

Syntax

CPoint operator +( SIZE size ) const;

CPoint operator +( POINT point ) const;

CRect operator +( const RECT* lpRect ) const;

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CPoint Overview, CPoint Operators, Simple Value Types, CPoint::operator –=, CPoint::operator –, CPoint::operator +=, CSize::operator +, CRect::operator +, CPoint::Offset, CRect::OffsetRect