Point::-

Point::-
inline const Point<T> operator -(const Point<T> & pt) const;
inline const Point<T> operator -(const Size<T> & sz) const;
inline const Point<T> operator -(T val) const;
Description

The operator - function calculates the coordinates of a new point by subtracting a fixed value (number or another Point or Size) from the x and y coordinate values of an existing Point. This function is constant and does not modify either of the passed parameters. 

The following expression is used to determine the result:

   Point(pt1.x -[val,pt2.x], pt1.y - [val,pt2.y])
Parameters
Parameters 
Description 
const Point<T> & pt 
A point from which a set value will be subtracted from each of its x and y coordinate values in order to determine the final returned Point coordinates. 
const Size<T> & sz 
A size variable containing a Width and Height component: The width variable of this parameter is subtracted from the x coordinate value of the point parameter. The height variable of this parameter is subtracted from the y coordinate value of the point. 
T val 
A fixed value that is subtracted from both the x and y coordinate values of the first point parameter taken in by this function. 
Return Value