CSize::operator +
CSize operator +( SIZE size ) const;
CPoint operator +( POINT point ) const;
CRect operator +( const RECT* lpRect ) const;
Remarks
These operators add this CSize value to the value of parameter. See the following descriptions of the individual operators:
-
operator +( size ) This operation adds two CSize values.
-
operator +( point ) This operation offsets (moves) a POINT (or CPoint) value by this CSize value. The cx and cy members of this CSize value are added to the x and y data members of the POINT value. It is analogous to the version of CPoint::operator + that takes a SIZE parameter.
-
operator +( lpRect ) This operation offsets (moves) a RECT (or CRect) value by this CSize value. The cx and cy members of this CSize value are added to the left, top, right, and bottom data members of the RECT value. It is analogous to the version of CRect::operator + that takes a SIZE parameter.
CSize Overview | Class Members | Hierarchy Chart
See Also CPoint::operator +, CRect::operator +