Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

ellipse.h

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

Generated on Thu Jun 17 22:24:48 2004 for libgnomecanvasmm by doxygen 1.3.7