7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
31 #include <glibmm/object.h>
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
77 static GType value_type() G_GNUC_CONST;
102 #ifndef DOXYGEN_SHOULD_SKIP_THIS
110 static GType value_type() G_GNUC_CONST;
134 #ifndef DOXYGEN_SHOULD_SKIP_THIS
142 static GType value_type() G_GNUC_CONST;
167 #ifndef DOXYGEN_SHOULD_SKIP_THIS
172 class Value<
Gdk::
Fill> :
public Glib::Value_Enum<Gdk::Fill>
175 static GType value_type() G_GNUC_CONST;
212 #ifndef DOXYGEN_SHOULD_SKIP_THIS
220 static GType value_type() G_GNUC_CONST;
243 #ifndef DOXYGEN_SHOULD_SKIP_THIS
251 static GType value_type() G_GNUC_CONST;
297 {
return static_cast<GCValuesMask>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
301 {
return static_cast<GCValuesMask>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
305 {
return static_cast<GCValuesMask>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
309 {
return static_cast<GCValuesMask>(~static_cast<unsigned>(flags)); }
313 {
return (lhs =
static_cast<GCValuesMask>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
317 {
return (lhs =
static_cast<GCValuesMask>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
321 {
return (lhs =
static_cast<GCValuesMask>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
326 #ifndef DOXYGEN_SHOULD_SKIP_THIS
334 static GType value_type() G_GNUC_CONST;
353 class GC :
public Glib::Object
356 #ifndef DOXYGEN_SHOULD_SKIP_THIS
359 typedef GC CppObjectType;
361 typedef GdkGC BaseObjectType;
365 static CppClassType gc_class_;
370 GC& operator=(
const GC&);
373 explicit GC(
const Glib::ConstructParams& construct_params);
385 #ifndef DOXYGEN_SHOULD_SKIP_THIS
388 static GType get_base_type() G_GNUC_CONST;
405 explicit GC(
const Glib::RefPtr<Drawable>& drawable);
412 static Glib::RefPtr<GC>
create(
const Glib::RefPtr<Drawable>& drawable);
535 #ifndef GDKMM_DISABLE_DEPRECATED
738 Glib::RefPtr<Gdk::GC>
wrap(
GdkGC*
object,
bool take_copy =
false);
GC(const Glib::RefPtr< Drawable > &drawable)
void set_colormap(const Glib::RefPtr< Colormap > &colormap)
void offset(int x_offset, int y_offset)
void set_subwindow(SubwindowMode mode)
Glib::RefPtr< Gdk::GC > wrap(GdkGC *object, bool take_copy=false)
Glib::RefPtr< Screen > get_screen()
GdkGC * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
const GdkGC * gobj() const
Provides access to the underlying C GObject.
void set_clip_region(const Region ®ion)
static Glib::RefPtr< GC > create()
void set_line_attributes(int line_width, LineStyle line_style, CapStyle cap_style, JoinStyle join_style)
GdkGC * gobj()
Provides access to the underlying C GObject.
void set_ts_origin(int x, int y)
void set_exposures(bool exposures)
void set_clip_rectangle(const Rectangle &rectangle)
Glib::RefPtr< const Screen > get_screen() const
static Glib::RefPtr< GC > create(const Glib::RefPtr< Drawable > &drawable)
void set_clip_rectangle(Rectangle &rectangle)
Glib::RefPtr< Colormap > get_colormap()
void set_tile(const Glib::RefPtr< Pixmap > &tile)
void set_dashes(int dash_offset, gint8 *dash_list, int n)
static GType get_type() G_GNUC_CONST
void set_clip_mask(const Glib::RefPtr< Bitmap > &mask)
void set_rgb_bg_color(const Color &color)
void set_background(const Color &color)
void set_function(Function function)
void set_foreground(const Color &color)
void set_stipple(const Glib::RefPtr< Pixmap > &stipple)
void set_clip_origin(int x, int y)
void set_rgb_fg_color(const Color &color)
PBD::PropertyDescriptor< uint32_t > color
PBD::PropertyDescriptor< bool > region
void rectangle(Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)