Size::+

Size::+
inline const Size<T> operator +(const Size<T> & sz) const;
inline const Size<T> operator +(T value) const;
Description

The operator + function expands a size by adding fixed values to its components. The following expression may be used to represent the result:

   (result.Width, result.Height) = (sz1.Width + [sz2.Width, value], sz1.Height + [sz2.Height, value])
Parameters
Parameters 
Description 
const Size<T> & sz 
The passed sizes whose components are added to those of the first size. 
T value 
A fixed value that is added to both components of a size. 
Return Value

A new Size whose components are determined by adding fixed values to the components of a passed size.