Rect::VExpand

Rect::VExpand
inline Rect<T>& VExpand(T v);
inline Rect<T>& VExpand(T t, T b);
Description

VExpand expands the rectangle vertically by subtracting a value from y1 and adding a value to y2. The following expression is used to determine the result:

   (y1, y2) = (y1 - [t, m.Begin, v], y2 + [b, m.End, v])
Parameters
Parameters 
Description 
T v 
A value that is subtracted from y1 and added to y2. 
T t 
A value that is subtracted from y1. 
T b 
A value that is added to y2. 
Return Value

A Rect reference to the current rectangle that has been vertically expanded.

See Also