IDA SDK
Public Attributes | Public Member Functions | List of all members
rect_t Struct Reference

Detailed Description

A rectangle in a graph view.

Public Attributes

int left
 
int top
 
int right
 
int bottom
 

Public Member Functions

 rect_t (int l, int t, int r, int b)
 
 rect_t (const point_t &p0, const point_t &p1)
 
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
 

The documentation for this struct was generated from the following file: