|
| TBOX () |
|
| TBOX (const ICOORD pt1, const ICOORD pt2) |
|
| TBOX (int16_t left, int16_t bottom, int16_t right, int16_t top) |
|
| TBOX (const FCOORD pt) |
|
bool | null_box () const |
|
bool | operator== (const TBOX &other) const |
|
int16_t | top () const |
|
void | set_top (int y) |
|
int16_t | bottom () const |
|
void | set_bottom (int y) |
|
int16_t | left () const |
|
void | set_left (int x) |
|
int16_t | 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_t | height () const |
|
int16_t | width () const |
|
int32_t | area () const |
|
void | pad (int xpad, int ypad) |
|
void | move_bottom_edge (const int16_t y) |
|
void | move_left_edge (const int16_t x) |
|
void | move_right_edge (const int16_t x) |
|
void | move_top_edge (const int16_t 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) |
|