Public Methods |
| | CL_Rect () |
| | CL_Rect (int nx1, int ny1, int nx2, int ny2) |
| | CL_Rect (const CL_Rect &rect) |
| bool | operator== (const CL_Rect &rect) const |
| void | move (int delta_x, int delta_y) |
| bool | inside (int x, int y) const |
| int | get_width () const |
| int | get_height () const |
Public Attributes |
| int | x1 |
| int | y1 |
| int | x2 |
| int | y2 |
Static Public Methods |
| CL_Rect | center (int center_x, int center_y, int width, int height) |
| CL_Rect | left (int x, int y, int width, int height, bool center_vert=true) |
| CL_Rect | right (int x, int y, int width, int height, bool center_vert=true) |