Merged revisions 6293,6296-6306,6308 via svnmerge from
[ardour.git] / libs / libgnomecanvasmm / libgnomecanvasmm / ellipse.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_ELLIPSE_H
4 #define _LIBGNOMECANVASMM_ELLIPSE_H
5
6 #include <glibmm.h>
7
8 // -*- C++ -*-
9 /* $Id$ */
10
11 /* ellipse.h
12  * 
13  * Copyright (C) 1998 EMC Capital Management Inc.
14  * Developed by Havoc Pennington <hp@pobox.com>
15  *
16  * Copyright (C) 1999 The Gtk-- Development Team
17  *
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.
22  *
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.
27  *
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.
31  */
32
33 #include <libgnomecanvasmm/item.h>
34 #include <libgnomecanvasmm/group.h>
35 #include <libgnomecanvasmm/rect-ellipse.h>
36
37
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
39 typedef struct _GnomeCanvasEllipse GnomeCanvasEllipse;
40 typedef struct _GnomeCanvasEllipseClass GnomeCanvasEllipseClass;
41 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
42
43
44 namespace Gnome
45 {
46
47 namespace Canvas
48 { class Ellipse_Class; } // namespace Canvas
49
50 } // namespace Gnome
51 namespace Gnome
52 {
53
54 namespace Canvas
55 {
56
57
58 class Ellipse : public RectEllipse
59 {
60   public:
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 */
67
68   virtual ~Ellipse();
69
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71
72 private:
73   friend class Ellipse_Class;
74   static CppClassType ellipse_class_;
75
76   // noncopyable
77   Ellipse(const Ellipse&);
78   Ellipse& operator=(const Ellipse&);
79
80 protected:
81   explicit Ellipse(const Glib::ConstructParams& construct_params);
82   explicit Ellipse(GnomeCanvasEllipse* castitem);
83
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
85
86 public:
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88   static GType get_type()      G_GNUC_CONST;
89   static GType get_base_type() G_GNUC_CONST;
90 #endif
91
92   ///Provides access to the underlying C GtkObject.
93   GnomeCanvasEllipse*       gobj()       { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); }
94
95   ///Provides access to the underlying C GtkObject.
96   const GnomeCanvasEllipse* gobj() const { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); }
97
98
99 public:
100   //C++ methods used to invoke GTK+ virtual functions:
101
102 protected:
103   //GTK+ Virtual Functions (override these to change behaviour):
104
105   //Default Signal Handlers::
106
107
108 private:
109 ;
110
111 public:
112   explicit Ellipse(Group& parent);
113   Ellipse(Group& parent, double x1, double y1, double x2, double y2);
114
115
116 };
117
118 } /* namespace Canvas */
119 } /* namespace Gnome */
120 namespace Glib
121 {
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.
126    */
127   Gnome::Canvas::Ellipse* wrap(GnomeCanvasEllipse* object, bool take_copy = false);
128 }
129 #endif /* _LIBGNOMECANVASMM_ELLIPSE_H */
130