Size::&

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

The operator & function determines the intersection of two sizes by comparing their components respectively. The lesser components are chosen. The following expression may be used to represent the result: 

(result.Width, result.Height) = (min(sz1.Width, sz2.Width), min(sz1.Height, sz2.Height))

Parameters
Parameters 
Description 
const Size<T> & sz 
The passed sizes whose components are compared to those of the first size. 
Return Value

A new Size whose components are determined by comparing those of two passed sizes. The lesser components are chosen to represent intersection.