System.Types.TRect.Normalize
C++
void Normalize() _ALWAYS_INLINE {
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | SystemTypes.h | System.Types | TRect |
Description
Returns a normalized rectangle.
Use Normalize to return a normalized rectangle.
Note: A normalized TRect is a rectangle with Top < Bottom or Left < Right.
Note: Several methods of TRect (Height, Width, IsEmpty, PtInRect, and so on) assume normalized TRect objects, so use NormalizeRect if Top > Bottom or Left > Right.