libgnomecanvasmm
rect-ellipse.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMECANVASMM_RECT_ELLIPSE_H
4#define _LIBGNOMECANVASMM_RECT_ELLIPSE_H
5
6
7#include <glibmm.h>
8
9// -*- C++ -*-
10/* $Id: rect-ellipse.hg,v 1.6 2002/04/01 16:54:22 murrayc Exp $ */
11
12/* canvas-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
35//#include <libgnomecanvasmm/group.h>
36#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
37
38
39#ifndef DOXYGEN_SHOULD_SKIP_THIS
40typedef struct _GnomeCanvasRE GnomeCanvasRE;
41typedef struct _GnomeCanvasREClass GnomeCanvasREClass;
42#endif /* DOXYGEN_SHOULD_SKIP_THIS */
43
44
45namespace Gnome
46{
47
48namespace Canvas
49{ class RectEllipse_Class; } // namespace Canvas
50
51} // namespace Gnome
52namespace Gnome
53{
54
55namespace Canvas
56{
57
62class RectEllipse : public Shape
63{
64 public:
65#ifndef DOXYGEN_SHOULD_SKIP_THIS
66 typedef RectEllipse CppObjectType;
67 typedef RectEllipse_Class CppClassType;
68 typedef GnomeCanvasRE BaseObjectType;
69 typedef GnomeCanvasREClass BaseClassType;
70#endif /* DOXYGEN_SHOULD_SKIP_THIS */
71
72 virtual ~RectEllipse();
73
74#ifndef DOXYGEN_SHOULD_SKIP_THIS
75
76private:
77 friend class RectEllipse_Class;
78 static CppClassType rectellipse_class_;
79
80 // noncopyable
82 RectEllipse& operator=(const RectEllipse&);
83
84protected:
85 explicit RectEllipse(const Glib::ConstructParams& construct_params);
86 explicit RectEllipse(GnomeCanvasRE* castitem);
87
88#endif /* DOXYGEN_SHOULD_SKIP_THIS */
89
90public:
91#ifndef DOXYGEN_SHOULD_SKIP_THIS
92 static GType get_type() G_GNUC_CONST;
93 static GType get_base_type() G_GNUC_CONST;
94#endif
95
97 GnomeCanvasRE* gobj() { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
98
100 const GnomeCanvasRE* gobj() const { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
101
102
103public:
104 //C++ methods used to invoke GTK+ virtual functions:
105#ifdef GLIBMM_VFUNCS_ENABLED
106#endif //GLIBMM_VFUNCS_ENABLED
107
108protected:
109 //GTK+ Virtual Functions (override these to change behaviour):
110#ifdef GLIBMM_VFUNCS_ENABLED
111#endif //GLIBMM_VFUNCS_ENABLED
112
113 //Default Signal Handlers::
114#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
115#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
116
117
118private:
119
120public:
121 explicit RectEllipse(Group& parent);
122
123 #ifdef GLIBMM_PROPERTIES_ENABLED
130 Glib::PropertyProxy<double> property_x1() ;
131#endif //#GLIBMM_PROPERTIES_ENABLED
132
133#ifdef GLIBMM_PROPERTIES_ENABLED
140 Glib::PropertyProxy_ReadOnly<double> property_x1() const;
141#endif //#GLIBMM_PROPERTIES_ENABLED
142
143 #ifdef GLIBMM_PROPERTIES_ENABLED
150 Glib::PropertyProxy<double> property_y1() ;
151#endif //#GLIBMM_PROPERTIES_ENABLED
152
153#ifdef GLIBMM_PROPERTIES_ENABLED
160 Glib::PropertyProxy_ReadOnly<double> property_y1() const;
161#endif //#GLIBMM_PROPERTIES_ENABLED
162
163 #ifdef GLIBMM_PROPERTIES_ENABLED
170 Glib::PropertyProxy<double> property_x2() ;
171#endif //#GLIBMM_PROPERTIES_ENABLED
172
173#ifdef GLIBMM_PROPERTIES_ENABLED
180 Glib::PropertyProxy_ReadOnly<double> property_x2() const;
181#endif //#GLIBMM_PROPERTIES_ENABLED
182
183 #ifdef GLIBMM_PROPERTIES_ENABLED
190 Glib::PropertyProxy<double> property_y2() ;
191#endif //#GLIBMM_PROPERTIES_ENABLED
192
193#ifdef GLIBMM_PROPERTIES_ENABLED
200 Glib::PropertyProxy_ReadOnly<double> property_y2() const;
201#endif //#GLIBMM_PROPERTIES_ENABLED
202
203
204};
205
206} /* namespace Canvas */
207} /* namespace Gnome */
208
209
210namespace Glib
211{
220 Gnome::Canvas::RectEllipse* wrap(GnomeCanvasRE* object, bool take_copy = false);
221} //namespace Glib
222
223
224#endif /* _LIBGNOMECANVASMM_RECT_ELLIPSE_H */
225
Definition: group.h:60
Abstract class for all rectangular shapes Corresponds to GnomeCanvasRE in libgnomecanvas.
Definition: rect-ellipse.h:63
const GnomeCanvasRE * gobj() const
Provides access to the underlying C GtkObject.
Definition: rect-ellipse.h:100
Gnome::Canvas::RectEllipse * wrap(GnomeCanvasRE *object, bool take_copy=false)
A Glib::wrap() method for this object.
Glib::PropertyProxy< double > property_x2()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
GnomeCanvasRE * gobj()
Provides access to the underlying C GtkObject.
Definition: rect-ellipse.h:97
Glib::PropertyProxy< double > property_y2()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< double > property_x1() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< double > property_y1() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< double > property_x2() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< double > property_y2() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
RectEllipse(Group &parent)
Glib::PropertyProxy< double > property_x1()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< double > property_y1()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Definition: shape.h:58
Definition: bpath.h:150
Definition: affinetrans.h:30