Size::IsEmpty

Size::IsEmpty
inline bool IsEmpty() const;
Description

IsEmpty determines whether the size is empty. In order to be considered empty, one or both of the components must be less than one. The following expression may be used to represent the result:

    (Width < 1) || (Height < 1)
Return Value

A Boolean value of 1 (true) if the size is empty and 0 (false) if it is not.

See Also