Size::&=

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

The operator &= function clamps a size to another size by comparing their components respectively. The lesser components are chosen. The following expression may be used to represent the result: (Width, Height) = (min(Width, sz.Width), min(Height, sz.Height)).

Parameters
Parameters 
Description 
const Size<T> & sz 
A size whose components are compared to those of the current size. 
Return Value

A Size reference to the current string whose components represent the clamped values of two sizes.