00001
00002
00003 #ifndef _LIBGNOMECANVASMM_RECT_H
00004 #define _LIBGNOMECANVASMM_RECT_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #include <libgnomecanvasmm/item.h>
00034 #include <libgnomecanvasmm/group.h>
00035 #include <libgnomecanvasmm/rect-ellipse.h>
00036
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GnomeCanvasRect GnomeCanvasRect;
00040 typedef struct _GnomeCanvasRectClass GnomeCanvasRectClass;
00041 #endif
00042
00043
00044 namespace Gnome
00045 {
00046
00047 namespace Canvas
00048 { class Rect_Class; }
00049
00050 }
00051 namespace Gnome
00052 {
00053
00054 namespace Canvas
00055 {
00056
00057
00058
00059
00060 class Rect : public RectEllipse
00061 {
00062 public:
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064 typedef Rect CppObjectType;
00065 typedef Rect_Class CppClassType;
00066 typedef GnomeCanvasRect BaseObjectType;
00067 typedef GnomeCanvasRectClass BaseClassType;
00068 #endif
00069
00070 virtual ~Rect();
00071
00072 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00073
00074 private:
00075 friend class Rect_Class;
00076 static CppClassType rect_class_;
00077
00078
00079 Rect(const Rect&);
00080 Rect& operator=(const Rect&);
00081
00082 protected:
00083 explicit Rect(const Glib::ConstructParams& construct_params);
00084 explicit Rect(GnomeCanvasRect* castitem);
00085
00086 #endif
00087
00088 public:
00089 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00090 static GType get_type() G_GNUC_CONST;
00091 static GType get_base_type() G_GNUC_CONST;
00092 #endif
00093
00095 GnomeCanvasRect* gobj() { return reinterpret_cast<GnomeCanvasRect*>(gobject_); }
00096
00098 const GnomeCanvasRect* gobj() const { return reinterpret_cast<GnomeCanvasRect*>(gobject_); }
00099
00100
00101 public:
00102
00103 #ifdef GLIBMM_VFUNCS_ENABLED
00104 #endif //GLIBMM_VFUNCS_ENABLED
00105
00106 protected:
00107
00108 #ifdef GLIBMM_VFUNCS_ENABLED
00109 #endif //GLIBMM_VFUNCS_ENABLED
00110
00111
00112 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00113 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00114
00115
00116 private:
00117
00118
00119 public:
00120 Rect(Group& parent, double x1, double y1, double x2, double y2);
00121 explicit Rect(Group& parent);
00122
00123
00124 };
00125
00126 }
00127 }
00128
00129
00130 namespace Glib
00131 {
00140 Gnome::Canvas::Rect* wrap(GnomeCanvasRect* object, bool take_copy = false);
00141 }
00142
00143
00144 #endif
00145