|
Public Member Functions |
bool | empty () |
void | get_clipbox (const Rectangle& rectangle) |
Glib::ArrayHandle<Rectangle> | get_rectangles () const |
const GdkRegion* | gobj () const |
GdkRegion* | gobj () |
GdkRegion* | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
|
void | intersect (const Region& source2) |
| Sets the area of source1 to the intersection of the areas of source1 and source2 .
|
void | offset (int dx, int dy) |
Region& | operator= (const Region& src) |
bool | point_in (int x, int y) |
OverlapType | rect_in (const Rectangle& rect) |
| Region (const Rectangle& rectangle) |
| Region (const Glib::ArrayHandle<Gdk::Point>& points, FillRule fill_rule) |
| Region (const Region& src) |
| Region (GdkRegion* castitem, bool make_a_copy=false) |
| Region () |
void | shrink (int dx, int dy) |
void | spans_intersect_foreach (GdkSpan* spans, int n_spans, bool sorted, GdkSpanFunc function, gpointer data) |
void | subtract (const Region& source2) |
| Subtracts the area of source2 from the area source1 .
|
void | union_ (const Region& source2) |
| Sets the area of source1 to the union of the areas of source1 and source2 .
|
void | union_with_rect (const Rectangle& rect) |
| Sets the area of region to the union of the areas of region and rect .
|
void | xor_ (const Region& source2) |
| Sets the area of source1 to the exclusive-OR of the areas of source1 and source2 .
|
| ~Region () |
Protected Attributes |
GdkRegion* | gobject_ |
Related Functions |
(Note that these are not member functions.)
|
bool | operator!= (const Region& lhs, const Region& rhs) |
bool | operator== (const Region& lhs, const Region& rhs) |
Gdk::Region | wrap (GdkRegion* object, bool take_copy=false) |