17#ifndef GRAPHICS_GRECT_H_
18#define GRAPHICS_GRECT_H_
95 static bool intersects(
int left1,
int top1,
int right1,
int bottom1,
int left2,
int top2,
int right2,
int bottom2);
131 static bool contains(
int left1,
int top1,
int right1,
int bottom1,
int left2,
int top2,
int right2,
int bottom2);
static bool intersects(const gRect &r1, const gRect &r2)
static bool intersects(int left1, int top1, int right1, int bottom1, int left2, int top2, int right2, int bottom2)
bool intersects(int left, int top, int right, int bottom) const
bool contains(const gRect &r) const
gRect(int left, int top, int right, int bottom)
bool contains(int x, int y) const
float exactCenterY() const
bool contains(int left, int top, int right, int bottom) const
void set(int left, int top, int right, int bottom)
static bool contains(int left1, int top1, int right1, int bottom1, int left2, int top2, int right2, int bottom2)
float exactCenterX() const
bool intersects(const gRect &r) const
static bool contains(const gRect &r1, const gRect &r2)