libgnomecanvasmm
bpath.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMECANVASMM_BPATH_H
4#define _LIBGNOMECANVASMM_BPATH_H
5
6
7#include <glibmm.h>
8
9/* $Id: bpath.hg,v 1.7 2005/12/21 08:27:11 murrayc Exp $ */
10
11/* bpath.h
12 *
13 *
14 * Copyright (C) 2002 The libgnomecanvasmm Development Team
15 *
16 * This library is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU Lesser General Public
18 * License as published by the Free Software Foundation; either
19 * version 2.1 of the License, or (at your option) any later version.
20 *
21 * This library is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 * Lesser General Public License for more details.
25 *
26 * You should have received a copy of the GNU Lesser General Public
27 * License along with this library; if not, write to the Free
28 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 */
30
33#include <libgnomecanvas/gnome-canvas-bpath.h>
34
35
36#ifndef DOXYGEN_SHOULD_SKIP_THIS
37typedef struct _GnomeCanvasBpath GnomeCanvasBpath;
38typedef struct _GnomeCanvasBpathClass GnomeCanvasBpathClass;
39#endif /* DOXYGEN_SHOULD_SKIP_THIS */
40
41
42namespace Gnome
43{
44
45namespace Canvas
46{ class Bpath_Class; } // namespace Canvas
47
48} // namespace Gnome
49namespace Gnome
50{
51
52namespace Canvas
53{
54
55
56class Bpath : public Shape
57{
58 public:
59#ifndef DOXYGEN_SHOULD_SKIP_THIS
60 typedef Bpath CppObjectType;
61 typedef Bpath_Class CppClassType;
62 typedef GnomeCanvasBpath BaseObjectType;
63 typedef GnomeCanvasBpathClass BaseClassType;
64#endif /* DOXYGEN_SHOULD_SKIP_THIS */
65
66 virtual ~Bpath();
67
68#ifndef DOXYGEN_SHOULD_SKIP_THIS
69
70private:
71 friend class Bpath_Class;
72 static CppClassType bpath_class_;
73
74 // noncopyable
75 Bpath(const Bpath&);
76 Bpath& operator=(const Bpath&);
77
78protected:
79 explicit Bpath(const Glib::ConstructParams& construct_params);
80 explicit Bpath(GnomeCanvasBpath* castitem);
81
82#endif /* DOXYGEN_SHOULD_SKIP_THIS */
83
84public:
85#ifndef DOXYGEN_SHOULD_SKIP_THIS
86 static GType get_type() G_GNUC_CONST;
87 static GType get_base_type() G_GNUC_CONST;
88#endif
89
91 GnomeCanvasBpath* gobj() { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); }
92
94 const GnomeCanvasBpath* gobj() const { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); }
95
96
97public:
98 //C++ methods used to invoke GTK+ virtual functions:
99#ifdef GLIBMM_VFUNCS_ENABLED
100#endif //GLIBMM_VFUNCS_ENABLED
101
102protected:
103 //GTK+ Virtual Functions (override these to change behaviour):
104#ifdef GLIBMM_VFUNCS_ENABLED
105#endif //GLIBMM_VFUNCS_ENABLED
106
107 //Default Signal Handlers::
108#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
109#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
110
111
112private:
113
114public:
115 explicit Bpath(Group& parent);
116
117 //TODO: Use Glib::RefPtr<PathDef> when we can break ABI:
118 #ifdef GLIBMM_PROPERTIES_ENABLED
125 Glib::PropertyProxy<GnomeCanvasPathDef*> property_bpath() ;
126#endif //#GLIBMM_PROPERTIES_ENABLED
127
128#ifdef GLIBMM_PROPERTIES_ENABLED
135 Glib::PropertyProxy_ReadOnly<GnomeCanvasPathDef*> property_bpath() const;
136#endif //#GLIBMM_PROPERTIES_ENABLED
137
138
139 void set_bpath(const Glib::RefPtr<PathDef>& path);
140
141
142};
143
144} /* namespace Canvas */
145
146} /* namespace Gnome */
147
148
149namespace Glib
150{
159 Gnome::Canvas::Bpath* wrap(GnomeCanvasBpath* object, bool take_copy = false);
160} //namespace Glib
161
162
163#endif /* _LIBGNOMECANVASMM_BPATH_H */
164
Definition: bpath.h:57
Glib::PropertyProxy_ReadOnly< GnomeCanvasPathDef * > property_bpath() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
const GnomeCanvasBpath * gobj() const
Provides access to the underlying C GtkObject.
Definition: bpath.h:94
Gnome::Canvas::Bpath * wrap(GnomeCanvasBpath *object, bool take_copy=false)
A Glib::wrap() method for this object.
void set_bpath(const Glib::RefPtr< PathDef > &path)
GnomeCanvasBpath * gobj()
Provides access to the underlying C GtkObject.
Definition: bpath.h:91
Glib::PropertyProxy< GnomeCanvasPathDef * > property_bpath()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Bpath(Group &parent)
Canvas functions usually operate in either World coordinates (units for the entire canvas),...
Definition: canvas.h:69
Definition: group.h:60
Definition: shape.h:58
Definition: bpath.h:150
Definition: affinetrans.h:30