2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_ELLIPSE_H
4 #define _LIBGNOMECANVASMM_ELLIPSE_H
13 * Copyright (C) 1998 EMC Capital Management Inc.
14 * Developed by Havoc Pennington <hp@pobox.com>
16 * Copyright (C) 1999 The Gtk-- Development Team
18 * This library is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU Library General Public
20 * License as published by the Free Software Foundation; either
21 * version 2 of the License, or (at your option) any later version.
23 * This library is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26 * Library General Public License for more details.
28 * You should have received a copy of the GNU Library General Public
29 * License along with this library; if not, write to the Free
30 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 #include <libgnomecanvasmm/item.h>
34 #include <libgnomecanvasmm/group.h>
35 #include <libgnomecanvasmm/rect-ellipse.h>
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
39 typedef struct _GnomeCanvasEllipse GnomeCanvasEllipse;
40 typedef struct _GnomeCanvasEllipseClass GnomeCanvasEllipseClass;
41 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
48 { class Ellipse_Class; } // namespace Canvas
58 class Ellipse : public RectEllipse
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 typedef Ellipse CppObjectType;
63 typedef Ellipse_Class CppClassType;
64 typedef GnomeCanvasEllipse BaseObjectType;
65 typedef GnomeCanvasEllipseClass BaseClassType;
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73 friend class Ellipse_Class;
74 static CppClassType ellipse_class_;
77 Ellipse(const Ellipse&);
78 Ellipse& operator=(const Ellipse&);
81 explicit Ellipse(const Glib::ConstructParams& construct_params);
82 explicit Ellipse(GnomeCanvasEllipse* castitem);
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88 static GType get_type() G_GNUC_CONST;
89 static GType get_base_type() G_GNUC_CONST;
92 ///Provides access to the underlying C GtkObject.
93 GnomeCanvasEllipse* gobj() { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); }
95 ///Provides access to the underlying C GtkObject.
96 const GnomeCanvasEllipse* gobj() const { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); }
100 //C++ methods used to invoke GTK+ virtual functions:
103 //GTK+ Virtual Functions (override these to change behaviour):
105 //Default Signal Handlers::
112 explicit Ellipse(Group& parent);
113 Ellipse(Group& parent, double x1, double y1, double x2, double y2);
118 } /* namespace Canvas */
119 } /* namespace Gnome */
122 /** @relates Gnome::Canvas::Ellipse
123 * @param object The C instance
124 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
125 * @result A C++ instance that wraps this C instance.
127 Gnome::Canvas::Ellipse* wrap(GnomeCanvasEllipse* object, bool take_copy = false);
129 #endif /* _LIBGNOMECANVASMM_ELLIPSE_H */