VClamp clamps the y1 and y2 values of a rectangle with alternate values. The greater y1 and lesser y2 are set.
Parameters |
Description |
T t |
A value compared with the y1 value of the local rectangle. |
T b |
A value that is compared to the y2 value of the local rectangle. |
const Rect<T> & r |
A rectangle whose y1 and y2 components are compared to y1 and y2 respectively, or a range whose First and Last components are compared with y1 and y2. |
A Rect reference to a new string whose y1 and y2 components are modified to reflect clamping with alternate values.