00001
00002
00003
#ifndef _LIBGNOMECANVASMM_PIXBUF_H
00004
#define _LIBGNOMECANVASMM_PIXBUF_H
00005
00006
#include <glibmm.h>
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
#include <gdkmm/pixbuf.h>
00032
#include <gtkmm/enums.h>
00033
#include <libgnomecanvasmm/item.h>
00034
#include <libgnomecanvas/gnome-canvas-pixbuf.h>
00035
00036
00037
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00038
typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;
00039
typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass;
00040
#endif
00041
00042
00043
namespace Gnome
00044 {
00045
00046
namespace Canvas
00047 {
class Pixbuf_Class; }
00048
00049 }
00050
namespace Gnome
00051 {
00052
00053
namespace Canvas
00054 {
00055
00056
00057 class Pixbuf :
public Item
00058 {
00059
public:
00060
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00061
typedef Pixbuf CppObjectType;
00062
typedef Pixbuf_Class CppClassType;
00063
typedef GnomeCanvasPixbuf BaseObjectType;
00064
typedef GnomeCanvasPixbufClass BaseClassType;
00065
#endif
00066
00067
virtual ~Pixbuf();
00068
00069
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00070
00071
private:
00072
friend class Pixbuf_Class;
00073
static CppClassType pixbuf_class_;
00074
00075
00076
Pixbuf(
const Pixbuf&);
00077
Pixbuf& operator=(
const Pixbuf&);
00078
00079
protected:
00080
explicit Pixbuf(
const Glib::ConstructParams& construct_params);
00081
explicit Pixbuf(GnomeCanvasPixbuf* castitem);
00082
00083
#endif
00084
00085
public:
00086
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00087
static GType get_type() G_GNUC_CONST;
00088
static GType get_base_type() G_GNUC_CONST;
00089
#endif
00090
00092 GnomeCanvasPixbuf*
gobj() {
return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
00093
00095 const GnomeCanvasPixbuf*
gobj()
const {
return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
00096
00097
00098
public:
00099
00100
00101
protected:
00102
00103
00104
00105
00106
00107
private:
00108
00109
public:
00110
Pixbuf(
Group& parent,
double x,
double y,
const Glib::RefPtr<Gdk::Pixbuf>& image);
00111
explicit Pixbuf(
Group& parent);
00112
00117
Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> >
property_pixbuf() ;
00118
00123
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> >
property_pixbuf() const;
00124
00129 Glib::PropertyProxy<
double> property_width() ;
00130
00135 Glib::PropertyProxy_ReadOnly<
double> property_width() const;
00136
00141 Glib::PropertyProxy<
bool> property_width_set() ;
00142
00147 Glib::PropertyProxy_ReadOnly<
bool> property_width_set() const;
00148
00153 Glib::PropertyProxy<
bool> property_width_in_pixels() ;
00154
00159 Glib::PropertyProxy_ReadOnly<
bool> property_width_in_pixels() const;
00160
00165 Glib::PropertyProxy<
double> property_height() ;
00166
00171 Glib::PropertyProxy_ReadOnly<
double> property_height() const;
00172
00177 Glib::PropertyProxy<
bool> property_height_set() ;
00178
00183 Glib::PropertyProxy_ReadOnly<
bool> property_height_set() const;
00184
00189 Glib::PropertyProxy<
bool> property_height_in_pixels() ;
00190
00195 Glib::PropertyProxy_ReadOnly<
bool> property_height_in_pixels() const;
00196
00201 Glib::PropertyProxy<
double> property_x() ;
00202
00207 Glib::PropertyProxy_ReadOnly<
double> property_x() const;
00208
00213 Glib::PropertyProxy<
bool> property_x_in_pixels() ;
00214
00219 Glib::PropertyProxy_ReadOnly<
bool> property_x_in_pixels() const;
00220
00225 Glib::PropertyProxy<
double> property_y() ;
00226
00231 Glib::PropertyProxy_ReadOnly<
double> property_y() const;
00232
00237 Glib::PropertyProxy<
bool> property_y_in_pixels() ;
00238
00243 Glib::PropertyProxy_ReadOnly<
bool> property_y_in_pixels() const;
00244
00249 Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
00250
00255 Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const;
00256
00257
00258 };
00259
00260 }
00261 }
00262
00263 namespace Glib
00264 {
00270
Gnome::Canvas::Pixbuf*
wrap(GnomeCanvasPixbuf* object,
bool take_copy =
false);
00271 }
00272
#endif
00273