1 #ifndef __RectUtils__
2 #define __RectUtils__
3 
4 #include <EgCommon.h>
5 
6 extern short 		PtInRect( const Point& inPt, const Rect* inRect );
7 extern void			SetRect( Rect* inR, long left, long top, long right, long bot );
8 extern void			InsetRect( Rect* inR, int inDelX, int inDelY );
9 extern void			UnionRect( const Rect* inR1, const Rect* inR2, Rect* outRect );
10 extern void			OffsetRect( Rect* inRect, int inDelX, int inDelY );
11 extern void			SectRect( const Rect* inR1, const Rect* inR2, Rect* outRect );
12 
13 #endif
14