Validate


Makes rect valid(Right is not less then Left and Bottom is not less the Top). Return true if rect was changed.

template<class TYPE>
bool Validate(TRect<TYPE> &r);
template<class TYPE>
bool Validate(TRect<TYPE> &r, const TYPE tolerance = Tolerance<TYPE>);
Namespace: ntl
Include: NTL/Core/Rect.h