libgnomecanvasmm
ellipse.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMECANVASMM_ELLIPSE_H
4#define _LIBGNOMECANVASMM_ELLIPSE_H
5
6
7#include <glibmm.h>
8
9// -*- C++ -*-
10/* $Id: ellipse.hg,v 1.6 2005/06/08 16:21:02 murrayc Exp $ */
11
12/* ellipse.h
13 *
14 * Copyright (C) 1998 EMC Capital Management Inc.
15 * Developed by Havoc Pennington <hp@pobox.com>
16 *
17 * Copyright (C) 1999 The Gtk-- Development Team
18 *
19 * This library is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU Lesser General Public
21 * License as published by the Free Software Foundation; either
22 * version 2.1 of the License, or (at your option) any later version.
23 *
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
28 *
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free
31 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
32 */
33
37
38
39#ifndef DOXYGEN_SHOULD_SKIP_THIS
40typedef struct _GnomeCanvasEllipse GnomeCanvasEllipse;
41typedef struct _GnomeCanvasEllipseClass GnomeCanvasEllipseClass;
42#endif /* DOXYGEN_SHOULD_SKIP_THIS */
43
44
45namespace Gnome
46{
47
48namespace Canvas
49{ class Ellipse_Class; } // namespace Canvas
50
51} // namespace Gnome
52namespace Gnome
53{
54
55namespace Canvas
56{
57
58
59class Ellipse : public RectEllipse
60{
61 public:
62#ifndef DOXYGEN_SHOULD_SKIP_THIS
63 typedef Ellipse CppObjectType;
64 typedef Ellipse_Class CppClassType;
65 typedef GnomeCanvasEllipse BaseObjectType;
66 typedef GnomeCanvasEllipseClass BaseClassType;
67#endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69 virtual ~Ellipse();
70
71#ifndef DOXYGEN_SHOULD_SKIP_THIS
72
73private:
74 friend class Ellipse_Class;
75 static CppClassType ellipse_class_;
76
77 // noncopyable
78 Ellipse(const Ellipse&);
79 Ellipse& operator=(const Ellipse&);
80
81protected:
82 explicit Ellipse(const Glib::ConstructParams& construct_params);
83 explicit Ellipse(GnomeCanvasEllipse* castitem);
84
85#endif /* DOXYGEN_SHOULD_SKIP_THIS */
86
87public:
88#ifndef DOXYGEN_SHOULD_SKIP_THIS
89 static GType get_type() G_GNUC_CONST;
90 static GType get_base_type() G_GNUC_CONST;
91#endif
92
94 GnomeCanvasEllipse* gobj() { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); }
95
97 const GnomeCanvasEllipse* gobj() const { return reinterpret_cast<GnomeCanvasEllipse*>(gobject_); }
98
99
100public:
101 //C++ methods used to invoke GTK+ virtual functions:
102#ifdef GLIBMM_VFUNCS_ENABLED
103#endif //GLIBMM_VFUNCS_ENABLED
104
105protected:
106 //GTK+ Virtual Functions (override these to change behaviour):
107#ifdef GLIBMM_VFUNCS_ENABLED
108#endif //GLIBMM_VFUNCS_ENABLED
109
110 //Default Signal Handlers::
111#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
112#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
113
114
115private:
116
117
118public:
119 explicit Ellipse(Group& parent);
120 Ellipse(Group& parent, double x1, double y1, double x2, double y2);
121
122
123};
124
125} /* namespace Canvas */
126} /* namespace Gnome */
127
128
129namespace Glib
130{
139 Gnome::Canvas::Ellipse* wrap(GnomeCanvasEllipse* object, bool take_copy = false);
140} //namespace Glib
141
142
143#endif /* _LIBGNOMECANVASMM_ELLIPSE_H */
144
Definition ellipse.h:60
Ellipse(Group &parent, double x1, double y1, double x2, double y2)
Ellipse(Group &parent)
const GnomeCanvasEllipse * gobj() const
Provides access to the underlying C GtkObject.
Definition ellipse.h:97
Gnome::Canvas::Ellipse * wrap(GnomeCanvasEllipse *object, bool take_copy=false)
A Glib::wrap() method for this object.
GnomeCanvasEllipse * gobj()
Provides access to the underlying C GtkObject.
Definition ellipse.h:94
Definition group.h:60
Abstract class for all rectangular shapes Corresponds to GnomeCanvasRE in libgnomecanvas.
Definition rect-ellipse.h:63
Definition bpath.h:150
Definition affinetrans.h:30