RectI
Public Static Attributes
Public Functions
RectI()
bool
bool
operator!=(const RectI & )
bool
operator==(const RectI & )
bool
pointInRect(const Point2I & pt)
unionRects(const RectI & )
Detailed Description
Public Attributes
Point2I extent
Point2I point
Public Static Attributes
const RectI One
A rect of 1,1 extent.
const RectI Zero
A rect of zero extent.
Public Functions
RectI()
RectI(const Point2I & in_rMin, const Point2I & in_rExtent)
RectI(const S32 in_left, const S32 in_top, const S32 in_width, const S32 in_height)
area()
Returns the area of the rectangle.
contains(const RectI & R)
inset(S32 x, S32 y)
intersect(const RectI & clipRect)
isValidRect()
len_x()
len_y()
operator!=(const RectI & )
operator==(const RectI & )
overlaps(RectI R)
pointInRect(const Point2I & pt)
set(const Point2I & in_rMin, const Point2I & in_rExtent)
set(const S32 in_left, const S32 in_top, const S32 in_width, const S32 in_height)
unionRects(const RectI & )