3 #ifndef _GDKMM_REGION_H
4 #define _GDKMM_REGION_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
35 #if defined(GDK_DISABLE_DEPRECATED) && !defined(GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED)
36 #undef GDK_DISABLE_DEPRECATED
37 #define GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED 1
44 #if defined(GSEAL_ENABLE) && !defined(GTKMM_GSEAL_ENABLE_UNDEFED)
46 #define GTKMM_GSEAL_ENABLE_UNDEFED 1
52 #if defined(GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED)
53 #define GDK_DISABLE_DEPRECATED 1
54 #undef GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED
58 #if defined(GTKMM_GSEAL_ENABLE_UNDEFED)
59 #define GSEAL_ENABLE 1
60 #undef GTKMM_GSEAL_ENABLE_UNDEFED
66 #include <glibmm/arrayhandle.h>
90 #ifndef DOXYGEN_SHOULD_SKIP_THIS
98 static GType value_type() G_GNUC_CONST;
122 #ifndef DOXYGEN_SHOULD_SKIP_THIS
130 static GType value_type() G_GNUC_CONST;
147 #ifndef DOXYGEN_SHOULD_SKIP_THIS
148 typedef Region CppObjectType;
void xor_(const Region &source2)
void spans_intersect_foreach(GdkSpan *spans, int n_spans, bool sorted, GdkSpanFunc function, gpointer data)
void subtract(const Region &source2)
const GdkRegion * gobj() const
Region & operator=(const Region &src)
Region(const Region &src)
void shrink(int dx, int dy)
OverlapType rect_in(const Rectangle &rect)
Gdk::Region wrap(GdkRegion *object, bool take_copy=false)
void union_(const Region &source2)
Region(GdkRegion *castitem, bool make_a_copy=false)
bool operator!=(const Region &lhs, const Region &rhs)
void get_clipbox(const Rectangle &rectangle)
Region(const Rectangle &rectangle)
bool point_in(int x, int y)
void offset(int dx, int dy)
Glib::ArrayHandle< Rectangle > get_rectangles() const
void union_with_rect(const Rectangle &rect)
GdkRegion * gobj_copy() const
Provides access to the underlying C instance. The caller is responsible for freeing it....
void intersect(const Region &source2)
bool operator==(const Region &lhs, const Region &rhs)
Region(const Glib::ArrayHandle< Gdk::Point > &points, FillRule fill_rule)
void(* GdkSpanFunc)(GdkSpan *span, gpointer data)
void rectangle(Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)