#include <plrect.h>
Public Member Functions | |
PLRect (int left, int top, int right, int bottom) | |
PLRect (const PLPoint &TL, const PLPoint &BR) | |
bool | operator== (const PLRect &rect) const |
bool | operator!= (const PLRect &rect) const |
int | Width () const |
int | Height () const |
void | SetWidth (int width) |
void | SetHeight (int height) |
bool | Contains (const PLPoint &pt) const |
bool | Contains (const PLRect &rect) const |
bool | Intersects (const PLRect &rect) const |
void | Expand (const PLRect &rect) |
void | Intersect (const PLRect &rect) |
Public Attributes | |
PLPoint | tl |
PLPoint | br |
Definition at line 18 of file plrect.h.