ellipse.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GOOCANVASMM_ELLIPSE_H
00004 #define _GOOCANVASMM_ELLIPSE_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 1998-2006 The gtkmm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Lesser General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2.1 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Lesser General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Lesser General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024  */
00025 
00026 
00027 #include <goocanvasmm/itemsimple.h>
00028 
00029 
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _GooCanvasEllipse GooCanvasEllipse;
00032 typedef struct _GooCanvasEllipseClass GooCanvasEllipseClass;
00033 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00034 
00035 
00036 namespace Goocanvas
00037 { class Ellipse_Class; } // namespace Goocanvas
00038 namespace Goocanvas
00039 {
00040 
00041 
00042 class Ellipse : public Goocanvas::ItemSimple
00043 {
00044   
00045 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00046 
00047 public:
00048   typedef Ellipse CppObjectType;
00049   typedef Ellipse_Class CppClassType;
00050   typedef GooCanvasEllipse BaseObjectType;
00051   typedef GooCanvasEllipseClass BaseClassType;
00052 
00053 private:  friend class Ellipse_Class;
00054   static CppClassType ellipse_class_;
00055 
00056 private:
00057   // noncopyable
00058   Ellipse(const Ellipse&);
00059   Ellipse& operator=(const Ellipse&);
00060 
00061 protected:
00062   explicit Ellipse(const Glib::ConstructParams& construct_params);
00063   explicit Ellipse(GooCanvasEllipse* castitem);
00064 
00065 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00066 
00067 public:
00068   virtual ~Ellipse();
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   GooCanvasEllipse*       gobj()       { return reinterpret_cast<GooCanvasEllipse*>(gobject_); }
00077 
00079   const GooCanvasEllipse* gobj() const { return reinterpret_cast<GooCanvasEllipse*>(gobject_); }
00080 
00082   GooCanvasEllipse* gobj_copy();
00083 
00084 private:
00085 
00086 protected:
00087 
00088   explicit Ellipse(double center_x = 0.0, double center_y = 0.0, double radius_x = 0.0, double radius_y = 0.0);
00089   
00090 
00091 public:
00092 
00093   
00094   static Glib::RefPtr<Ellipse> create(double center_x =  0.0, double center_y =  0.0, double radius_x =  0.0, double radius_y =  0.0);
00095 
00096 
00097   //We put these in item.hg instead.
00098   //See the comment there.
00099   //_WRAP_PROPERTY("x", double)
00100   //_WRAP_PROPERTY("y", double)
00101   //_WRAP_PROPERTY("width", double)
00102   //_WRAP_PROPERTY("height", double)
00103   #ifdef GLIBMM_PROPERTIES_ENABLED
00104 
00110   Glib::PropertyProxy<double> property_center_x() ;
00111 #endif //#GLIBMM_PROPERTIES_ENABLED
00112 
00113 #ifdef GLIBMM_PROPERTIES_ENABLED
00114 
00120   Glib::PropertyProxy_ReadOnly<double> property_center_x() const;
00121 #endif //#GLIBMM_PROPERTIES_ENABLED
00122 
00123   #ifdef GLIBMM_PROPERTIES_ENABLED
00124 
00130   Glib::PropertyProxy<double> property_center_y() ;
00131 #endif //#GLIBMM_PROPERTIES_ENABLED
00132 
00133 #ifdef GLIBMM_PROPERTIES_ENABLED
00134 
00140   Glib::PropertyProxy_ReadOnly<double> property_center_y() const;
00141 #endif //#GLIBMM_PROPERTIES_ENABLED
00142 
00143   #ifdef GLIBMM_PROPERTIES_ENABLED
00144 
00150   Glib::PropertyProxy<double> property_radius_x() ;
00151 #endif //#GLIBMM_PROPERTIES_ENABLED
00152 
00153 #ifdef GLIBMM_PROPERTIES_ENABLED
00154 
00160   Glib::PropertyProxy_ReadOnly<double> property_radius_x() const;
00161 #endif //#GLIBMM_PROPERTIES_ENABLED
00162 
00163   #ifdef GLIBMM_PROPERTIES_ENABLED
00164 
00170   Glib::PropertyProxy<double> property_radius_y() ;
00171 #endif //#GLIBMM_PROPERTIES_ENABLED
00172 
00173 #ifdef GLIBMM_PROPERTIES_ENABLED
00174 
00180   Glib::PropertyProxy_ReadOnly<double> property_radius_y() const;
00181 #endif //#GLIBMM_PROPERTIES_ENABLED
00182 
00183 
00184 public:
00185 
00186 public:
00187   //C++ methods used to invoke GTK+ virtual functions:
00188 #ifdef GLIBMM_VFUNCS_ENABLED
00189 #endif //GLIBMM_VFUNCS_ENABLED
00190 
00191 protected:
00192   //GTK+ Virtual Functions (override these to change behaviour):
00193 #ifdef GLIBMM_VFUNCS_ENABLED
00194 #endif //GLIBMM_VFUNCS_ENABLED
00195 
00196   //Default Signal Handlers::
00197 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00198 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00199 
00200 
00201 };
00202 
00203 } //namespace Goocanvas
00204 
00205 
00206 namespace Glib
00207 {
00216   Glib::RefPtr<Goocanvas::Ellipse> wrap(GooCanvasEllipse* object, bool take_copy = false);
00217 }
00218 
00219 
00220 #endif /* _GOOCANVASMM_ELLIPSE_H */
00221 

Generated on Sun Jul 26 00:01:57 2009 for goocanvasmm by  doxygen 1.5.9