rect.h
Go to the documentation of this file.00001
00002
00003 #ifndef _GOOCANVASMM_RECT_H
00004 #define _GOOCANVASMM_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 #include <goocanvasmm/itemsimple.h>
00028
00029
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _GooCanvasRect GooCanvasRect;
00032 typedef struct _GooCanvasRectClass GooCanvasRectClass;
00033 #endif
00034
00035
00036 namespace Goocanvas
00037 { class Rect_Class; }
00038 namespace Goocanvas
00039 {
00040
00041
00042 class Rect : public Goocanvas::ItemSimple
00043 {
00044
00045 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00046
00047 public:
00048 typedef Rect CppObjectType;
00049 typedef Rect_Class CppClassType;
00050 typedef GooCanvasRect BaseObjectType;
00051 typedef GooCanvasRectClass BaseClassType;
00052
00053 private: friend class Rect_Class;
00054 static CppClassType rect_class_;
00055
00056 private:
00057
00058 Rect(const Rect&);
00059 Rect& operator=(const Rect&);
00060
00061 protected:
00062 explicit Rect(const Glib::ConstructParams& construct_params);
00063 explicit Rect(GooCanvasRect* castitem);
00064
00065 #endif
00066
00067 public:
00068 virtual ~Rect();
00069
00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00071 static GType get_type() G_GNUC_CONST;
00072 static GType get_base_type() G_GNUC_CONST;
00073 #endif
00074
00076 GooCanvasRect* gobj() { return reinterpret_cast<GooCanvasRect*>(gobject_); }
00077
00079 const GooCanvasRect* gobj() const { return reinterpret_cast<GooCanvasRect*>(gobject_); }
00080
00082 GooCanvasRect* gobj_copy();
00083
00084 private:
00085
00086
00087 protected:
00088
00089 explicit Rect(double x = 0.0, double y = 0.0, double width = 0.0, double height = 0.0);
00090
00091
00092 public:
00093
00094
00095 static Glib::RefPtr<Rect> create(double x = 0.0, double y = 0.0, double width = 0.0, double height = 0.0);
00096
00097
00098
00099
00100
00101
00102
00103
00104 #ifdef GLIBMM_PROPERTIES_ENABLED
00105
00111 Glib::PropertyProxy<double> property_radius_x() ;
00112 #endif //#GLIBMM_PROPERTIES_ENABLED
00113
00114 #ifdef GLIBMM_PROPERTIES_ENABLED
00115
00121 Glib::PropertyProxy_ReadOnly<double> property_radius_x() const;
00122 #endif //#GLIBMM_PROPERTIES_ENABLED
00123
00124 #ifdef GLIBMM_PROPERTIES_ENABLED
00125
00131 Glib::PropertyProxy<double> property_radius_y() ;
00132 #endif //#GLIBMM_PROPERTIES_ENABLED
00133
00134 #ifdef GLIBMM_PROPERTIES_ENABLED
00135
00141 Glib::PropertyProxy_ReadOnly<double> property_radius_y() const;
00142 #endif //#GLIBMM_PROPERTIES_ENABLED
00143
00144
00145 public:
00146
00147 public:
00148
00149 #ifdef GLIBMM_VFUNCS_ENABLED
00150 #endif //GLIBMM_VFUNCS_ENABLED
00151
00152 protected:
00153
00154 #ifdef GLIBMM_VFUNCS_ENABLED
00155 #endif //GLIBMM_VFUNCS_ENABLED
00156
00157
00158 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00159 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00160
00161
00162 };
00163
00164 }
00165
00166
00167 namespace Glib
00168 {
00177 Glib::RefPtr<Goocanvas::Rect> wrap(GooCanvasRect* object, bool take_copy = false);
00178 }
00179
00180
00181 #endif
00182