rect.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GOOCANVASMM_RECT_H
00004 #define _GOOCANVASMM_RECT_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 Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 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  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library 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 _GooCanvasRect GooCanvasRect;
00032 typedef struct _GooCanvasRectClass GooCanvasRectClass;
00033 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00034 
00035 
00036 namespace Goocanvas
00037 { class Rect_Class; } // namespace Goocanvas
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   // noncopyable
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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   #ifdef GLIBMM_PROPERTIES_ENABLED
00099 
00105   Glib::PropertyProxy<double> property_height() ;
00106 #endif //#GLIBMM_PROPERTIES_ENABLED
00107 
00108 #ifdef GLIBMM_PROPERTIES_ENABLED
00109 
00115   Glib::PropertyProxy_ReadOnly<double> property_height() const;
00116 #endif //#GLIBMM_PROPERTIES_ENABLED
00117 
00118   #ifdef GLIBMM_PROPERTIES_ENABLED
00119 
00125   Glib::PropertyProxy<double> property_radius_x() ;
00126 #endif //#GLIBMM_PROPERTIES_ENABLED
00127 
00128 #ifdef GLIBMM_PROPERTIES_ENABLED
00129 
00135   Glib::PropertyProxy_ReadOnly<double> property_radius_x() const;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137 
00138   #ifdef GLIBMM_PROPERTIES_ENABLED
00139 
00145   Glib::PropertyProxy<double> property_radius_y() ;
00146 #endif //#GLIBMM_PROPERTIES_ENABLED
00147 
00148 #ifdef GLIBMM_PROPERTIES_ENABLED
00149 
00155   Glib::PropertyProxy_ReadOnly<double> property_radius_y() const;
00156 #endif //#GLIBMM_PROPERTIES_ENABLED
00157 
00158   #ifdef GLIBMM_PROPERTIES_ENABLED
00159 
00165   Glib::PropertyProxy<double> property_width() ;
00166 #endif //#GLIBMM_PROPERTIES_ENABLED
00167 
00168 #ifdef GLIBMM_PROPERTIES_ENABLED
00169 
00175   Glib::PropertyProxy_ReadOnly<double> property_width() const;
00176 #endif //#GLIBMM_PROPERTIES_ENABLED
00177 
00178   #ifdef GLIBMM_PROPERTIES_ENABLED
00179 
00185   Glib::PropertyProxy<double> property_x() ;
00186 #endif //#GLIBMM_PROPERTIES_ENABLED
00187 
00188 #ifdef GLIBMM_PROPERTIES_ENABLED
00189 
00195   Glib::PropertyProxy_ReadOnly<double> property_x() const;
00196 #endif //#GLIBMM_PROPERTIES_ENABLED
00197 
00198   #ifdef GLIBMM_PROPERTIES_ENABLED
00199 
00205   Glib::PropertyProxy<double> property_y() ;
00206 #endif //#GLIBMM_PROPERTIES_ENABLED
00207 
00208 #ifdef GLIBMM_PROPERTIES_ENABLED
00209 
00215   Glib::PropertyProxy_ReadOnly<double> property_y() const;
00216 #endif //#GLIBMM_PROPERTIES_ENABLED
00217 
00218 
00219 public:
00220 
00221 public:
00222   //C++ methods used to invoke GTK+ virtual functions:
00223 #ifdef GLIBMM_VFUNCS_ENABLED
00224 #endif //GLIBMM_VFUNCS_ENABLED
00225 
00226 protected:
00227   //GTK+ Virtual Functions (override these to change behaviour):
00228 #ifdef GLIBMM_VFUNCS_ENABLED
00229 #endif //GLIBMM_VFUNCS_ENABLED
00230 
00231   //Default Signal Handlers::
00232 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00233 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00234 
00235 
00236 };
00237 
00238 }
00239 
00240 
00241 namespace Glib
00242 {
00251   Glib::RefPtr<Goocanvas::Rect> wrap(GooCanvasRect* object, bool take_copy = false);
00252 }
00253 
00254 
00255 #endif /* _GOOCANVASMM_RECT_H */
00256 

Generated on Tue Jan 13 11:21:28 2009 for goocanvasmm by  doxygen 1.5.8