Size::Expand

Size::Expand
inline Size<T>& Expand(T w, T h);
inline Size<T>& Expand(const Size<T> & sz);
inline Size<T>& Expand(T value);
Description

Expand expands a size by adding a fixed value to each of its components. The following expression may be used to represent the result:

   (Width, Height) = (Width + [sz.Width, value, w], Height + [sz.Height, value, h])
Parameters
Parameters 
Description 
T w 
A value that is added to Width
T h 
A value that is added to Height
const Size<T> & sz 
A size whose components are added to those of a current size. 
T value 
A value that is added to both components of a current size. 
Return Value

A Size reference to the current string whose components are determined by adding alternate values to its original components.