The operator + function returns a new Point variable whose coordinates are calculated by adding a set value (number or another Point) to the x and y coordinate values of a point parameter. This function is constant and does not modify either of the passed parameters.
The following expression is used to determine the result:
Parameters |
Description |
const Point<T> & pt | |
const Size<T> & sz | |
T val |