#include <frect.h>
Public Member Functions | |
FRect (double x1, double y1, double x2, double y2) | |
bool | operator== (const FRect &p) const |
bool | operator!= (const FRect &p) const |
bool | empty () const |
Public Attributes | |
double | left |
double | top |
double | right |
double | bottom |
Floating point rect class
bool Titanic::FRect::operator== | ( | const FRect & | p | ) | const |
Returns true if the rects equal
bool Titanic::FRect::operator!= | ( | const FRect & | p | ) | const |
Returns true if the rects are not equal
bool Titanic::FRect::empty | ( | ) | const |
Returns true if the rect is empty