libgnomecanvasmm
|
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMECANVASMM_ELLIPSE_H 00004 #define _LIBGNOMECANVASMM_ELLIPSE_H 00005 00006 00007 #include <glibmm.h> 00008 00009 // -*- C++ -*- 00010 /* $Id: ellipse.hg,v 1.6 2005/06/08 16:21:02 murrayc Exp $ */ 00011 00012 /* ellipse.h 00013 * 00014 * Copyright (C) 1998 EMC Capital Management Inc. 00015 * Developed by Havoc Pennington <hp@pobox.com> 00016 * 00017 * Copyright (C) 1999 The Gtk-- Development Team 00018 * 00019 * This library is free software; you can redistribute it and/or 00020 * modify it under the terms of the GNU Lesser General Public 00021 * License as published by the Free Software Foundation; either 00022 * version 2.1 of the License, or (at your option) any later version. 00023 * 00024 * This library is distributed in the hope that it will be useful, 00025 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00026 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00027 * Lesser General Public License for more details. 00028 * 00029 * You should have received a copy of the GNU Lesser General Public 00030 * License along with this library; if not, write to the Free 00031 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00032 */ 00033 00034 #include <libgnomecanvasmm/item.h> 00035 #include <libgnomecanvasmm/group.h> 00036 #include <libgnomecanvasmm/rect-ellipse.h> 00037 00038 00039 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00040 typedef struct _GnomeCanvasEllipse GnomeCanvasEllipse; 00041 typedef struct _GnomeCanvasEllipseClass GnomeCanvasEllipseClass; 00042 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00043 00044 00045 namespace Gnome 00046 { 00047 00048 namespace Canvas 00049 { class Ellipse_Class; } // namespace Canvas 00050 00051 } // namespace Gnome 00052 namespace Gnome 00053 { 00054 00055 namespace Canvas 00056 { 00057 00058 00059 class Ellipse : public RectEllipse 00060 { 00061 public: 00062 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00063 typedef Ellipse CppObjectType; 00064 typedef Ellipse_Class CppClassType; 00065 typedef GnomeCanvasEllipse BaseObjectType; 00066 typedef GnomeCanvasEllipseClass BaseClassType; 00067 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00068 00069 virtual ~Ellipse(); 00070 00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00072 00073 private: 00074 friend class Ellipse_Class; 00075 static CppClassType ellipse_class_; 00076 00077 // noncopyable 00078 Ellipse(const Ellipse&); 00079 Ellipse& operator=(const Ellipse&); 00080 00081 protected: 00082 explicit Ellipse(const Glib::ConstructParams& construct_params); 00083 explicit Ellipse(GnomeCanvasEllipse* castitem); 00084 00085 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00086 00087 public: 00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00089 static GType get_type() G_GNUC_CONST; 00090 static GType get_base_type() G_GNUC_CONST; 00091 #endif 00092 00094 GnomeCanvasEllipse* gobj() { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); } 00095 00097 const GnomeCanvasEllipse* gobj() const { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); } 00098 00099 00100 public: 00101 //C++ methods used to invoke GTK+ virtual functions: 00102 #ifdef GLIBMM_VFUNCS_ENABLED 00103 #endif //GLIBMM_VFUNCS_ENABLED 00104 00105 protected: 00106 //GTK+ Virtual Functions (override these to change behaviour): 00107 #ifdef GLIBMM_VFUNCS_ENABLED 00108 #endif //GLIBMM_VFUNCS_ENABLED 00109 00110 //Default Signal Handlers:: 00111 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00112 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00113 00114 00115 private: 00116 00117 00118 public: 00119 explicit Ellipse(Group& parent); 00120 Ellipse(Group& parent, double x1, double y1, double x2, double y2); 00121 00122 00123 }; 00124 00125 } /* namespace Canvas */ 00126 } /* namespace Gnome */ 00127 00128 00129 namespace Glib 00130 { 00139 Gnome::Canvas::Ellipse* wrap(GnomeCanvasEllipse* object, bool take_copy = false); 00140 } //namespace Glib 00141 00142 00143 #endif /* _LIBGNOMECANVASMM_ELLIPSE_H */ 00144