![]() |
The intersection of two rectangles can be computed with intersect(). To find the union of two rectangles use union().
Public Member Functions | |
| int | get_height () const |
| int | get_width () const |
| int | get_x () const |
| int | get_y () const |
| const GdkRectangle* | gobj () const |
| Provides access to the underlying C instance. | |
| GdkRectangle* | gobj () |
| Provides access to the underlying C instance. | |
| bool | has_zero_area () const |
| Rectangle& | intersect (const Rectangle& src2, bool& rectangles_intersect) |
| Rectangle& | intersect (const Rectangle& src2) |
| Rectangle& | join (const Rectangle& src2) |
| Rectangle (int x, int y, int width, int height) | |
| Rectangle (const GdkRectangle* gobject) | |
| Rectangle () | |
| void | set_height (const int& value) |
| void | set_width (const int& value) |
| void | set_x (const int& value) |
| void | set_y (const int& value) |
Protected Attributes | |
| GdkRectangle | gobject_ |
Related Functions | |
| (Note that these are not member functions.) | |
| const Gdk::Rectangle& | wrap (const GdkRectangle* object) |
| Gdk::Rectangle& | wrap (GdkRectangle* object) |
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides access to the underlying C instance.
|
|
|
Provides access to the underlying C instance.
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|