Rect::Normalize

Rect::Normalize
inline void Normalize();
Description

Normalize normalizes the current rectangle. In order to normalize the rectangle, its x1 and x2 components are compared, and its y1 and y2 components are compared. If (x1 > x2), the components are swapped. Likewise, if (y1 > y2), y1 and y2 are swapped.

See Also