|
| TBOX () |
|
| TBOX (const ICOORD pt1, const ICOORD pt2) |
|
| TBOX (inT16 left, inT16 bottom, inT16 right, inT16 top) |
|
| TBOX (const FCOORD pt) |
|
bool | null_box () const |
|
bool | operator== (const TBOX &other) const |
|
inT16 | top () const |
|
void | set_top (int y) |
|
inT16 | bottom () const |
|
void | set_bottom (int y) |
|
inT16 | left () const |
|
void | set_left (int x) |
|
inT16 | right () const |
|
void | set_right (int x) |
|
int | x_middle () const |
|
int | y_middle () const |
|
const ICOORD & | botleft () const |
|
ICOORD | botright () const |
|
ICOORD | topleft () const |
|
const ICOORD & | topright () const |
|
inT16 | height () const |
|
inT16 | width () const |
|
inT32 | area () const |
|
void | pad (int xpad, int ypad) |
|
void | move_bottom_edge (const inT16 y) |
|
void | move_left_edge (const inT16 x) |
|
void | move_right_edge (const inT16 x) |
|
void | move_top_edge (const inT16 y) |
|
void | move (const ICOORD vec) |
|
void | move (const FCOORD vec) |
|
void | scale (const float f) |
|
void | scale (const FCOORD vec) |
|
void | rotate (const FCOORD &vec) |
|
void | rotate_large (const FCOORD &vec) |
|
bool | contains (const FCOORD pt) const |
|
bool | contains (const TBOX &box) const |
|
bool | overlap (const TBOX &box) const |
|
bool | major_overlap (const TBOX &box) const |
|
bool | x_overlap (const TBOX &box) const |
|
int | x_gap (const TBOX &box) const |
|
int | y_gap (const TBOX &box) const |
|
bool | major_x_overlap (const TBOX &box) const |
|
bool | y_overlap (const TBOX &box) const |
|
bool | major_y_overlap (const TBOX &box) const |
|
double | overlap_fraction (const TBOX &box) const |
|
double | x_overlap_fraction (const TBOX &box) const |
|
double | y_overlap_fraction (const TBOX &box) const |
|
bool | x_almost_equal (const TBOX &box, int tolerance) const |
|
bool | almost_equal (const TBOX &box, int tolerance) const |
|
TBOX | intersection (const TBOX &box) const |
|
TBOX | bounding_union (const TBOX &box) const |
|
void | set_to_given_coords (int x_min, int y_min, int x_max, int y_max) |
|
void | print () const |
|
void | print_to_str (STRING *str) const |
|
void | plot (ScrollView *fd) const |
|
void | plot (ScrollView *fd, ScrollView::Color fill_colour, ScrollView::Color border_colour) const |
|
bool | Serialize (FILE *fp) const |
|
bool | DeSerialize (bool swap, FILE *fp) |
|
Definition at line 30 of file rect.h.