139 if (r.
Width < 1)
return(rect);
148 if (r.
Height < 1)
return(rect);
156 if (r.
Width < 1)
return(rect);
164 if (r.
Height < 1)
return(rect);
188 if (result.
X > rect2.
X) {
189 result.
Width += result.
X-rect2.
X;
192 if (result.
Y > rect2.
Y) {
TPoint2D< T > const Bias_To(TRect< T > const &rect) const
TRect< T > const Union(TRect< T > const &rect2) const
TRect< T > const Bias_To(TRect< T > const &rect) const
TRect< T > const & operator+=(TPoint2D< T > const &point)
bool Is_Valid(void) const
bool Is_Overlapping(TRect< T > const &rect) const
TPoint2D< T > Top_Right(void) const
TPoint2D< T > Top_Left(void) const
bool Is_Point_Within(TPoint2D< T > const &point) const
TRect< T > const Intersect(TRect< T > const &rectangle, T *x=NULL, T *y=NULL) const
TRect< T > const operator-(TPoint2D< T > const &point)
TPoint2D< T > Bottom_Left(void) const
bool operator!=(TRect< T > const &rvalue) const
TRect(T x=0, T y=0, T w=0, T h=0)
TRect(TPoint2D< T > const &point, T w, T h)
TPoint2D< T > Bottom_Right(void) const
TRect< T > const operator+(TPoint2D< T > const &point)
TRect< T > const & operator-=(TPoint2D< T > const &point)
bool operator==(TRect< T > const &rvalue) const