00001
00002
00003 #ifndef _LIBGNOMECANVASMM_RECT_ELLIPSE_H
00004 #define _LIBGNOMECANVASMM_RECT_ELLIPSE_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
00032
00033 #include <libgnomecanvasmm/shape.h>
00034
00035 #include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
00036
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GnomeCanvasRE GnomeCanvasRE;
00040 typedef struct _GnomeCanvasREClass GnomeCanvasREClass;
00041 #endif
00042
00043
00044 namespace Gnome
00045 {
00046
00047 namespace Canvas
00048 { class RectEllipse_Class; }
00049
00050 }
00051 namespace Gnome
00052 {
00053
00054 namespace Canvas
00055 {
00056
00061 class RectEllipse : public Shape
00062 {
00063 public:
00064 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00065 typedef RectEllipse CppObjectType;
00066 typedef RectEllipse_Class CppClassType;
00067 typedef GnomeCanvasRE BaseObjectType;
00068 typedef GnomeCanvasREClass BaseClassType;
00069 #endif
00070
00071 virtual ~RectEllipse();
00072
00073 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00074
00075 private:
00076 friend class RectEllipse_Class;
00077 static CppClassType rectellipse_class_;
00078
00079
00080 RectEllipse(const RectEllipse&);
00081 RectEllipse& operator=(const RectEllipse&);
00082
00083 protected:
00084 explicit RectEllipse(const Glib::ConstructParams& construct_params);
00085 explicit RectEllipse(GnomeCanvasRE* castitem);
00086
00087 #endif
00088
00089 public:
00090 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00091 static GType get_type() G_GNUC_CONST;
00092 static GType get_base_type() G_GNUC_CONST;
00093 #endif
00094
00096 GnomeCanvasRE* gobj() { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
00097
00099 const GnomeCanvasRE* gobj() const { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
00100
00101
00102 public:
00103
00104
00105 protected:
00106
00107
00108
00109
00110
00111 private:
00112
00113 public:
00114 explicit RectEllipse(Group& parent);
00115
00121 Glib::PropertyProxy<double> property_x1();
00122
00128 Glib::PropertyProxy<double> property_y1();
00129
00135 Glib::PropertyProxy<double> property_x2();
00136
00142 Glib::PropertyProxy<double> property_y2();
00143
00144
00145 };
00146
00147 }
00148 }
00149
00150 namespace Glib
00151 {
00153 Gnome::Canvas::RectEllipse* wrap(GnomeCanvasRE* object, bool take_copy = false);
00154 }
00155 #endif
00156