|
IDA C++ SDK 9.2
|
A rectangle in a graph view. More...
#include <graph.hpp>
Public Member Functions | |
| rect_t () | |
| rect_t (int l, int t, int r, int b) | |
| rect_t (const point_t &p0, const point_t &p1) | |
| void | verify (void) |
| int | width (void) const |
| int | height (void) const |
| void | move_to (const point_t &p) |
| void | move_by (const point_t &p) |
| point_t | center (void) const |
| point_t | topleft (void) const |
| point_t | bottomright (void) const |
| void | grow (int delta) |
| void | intersect (const rect_t &r) |
| void | make_union (const rect_t &r) |
| bool | empty (void) const |
| bool | is_intersection_empty (const rect_t &r) const |
| bool | contains (const point_t &p) const |
| int | area (void) const |
| bool idaapi | operator== (const rect_t &r) const |
| bool idaapi | operator!= (const rect_t &r) const |
| bool idaapi | operator< (const rect_t &r) const |
| const TRect & | operator() (void) const |
| TRect & | operator() (void) |
| rect_t (const TRect &r) | |
Public Attributes | |
| int | left = 0 |
| int | top = 0 |
| int | right = 0 |
| int | bottom = 0 |
A rectangle in a graph view.
Please note that a correct rectangle has left < right and top < bottom. NB: top less than bottom, which means that the vertical axis grows to the bottom, a bigger value means verically lower.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int rect_t::left = 0 |
| int rect_t::top = 0 |
| int rect_t::right = 0 |
| int rect_t::bottom = 0 |