Point::-=

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

The operator -= function subtracts a set value from the x and y coordinates of the current point variable. 

The following expression is used to determine the result:

   (pt1.x, pt1.y) = (pt1.x - [val, pt2.x], pt1.y - [val, pt2.y])
Parameters
Parameters 
Description 
const Point<T> & pt 
A point whose x and y coordinate values are subtracted from the x and y coordinate values of the current point respectively. 
const Size<T> & sz 
A size variable containing a Width and Height component: the width variable is subtracted from the x coordinate value of the current point, and the height variable is subtracted from the y coordinate value. 
T val 
A fixed value that is subtracted from both the x and y coordinate values of the current point. 
Return Value

A Point reference to the current string whose coordinates result from the subtraction of a fixed value (number or another Point) from the original coordinates.