libgnomecanvasmm
shape.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_SHAPE_H
4 #define _LIBGNOMECANVASMM_SHAPE_H
5 
6 
7 #include <glibmm.h>
8 
9 // -*- C++ -*-
10 /* $Id: shape.hg,v 1.8 2002/08/08 22:28:16 cactus Exp $ */
11 
12 /* shape.h
13  *
14  *
15  * Copyright (C) 2002 The libgnomecanvasmm Development Team
16  *
17  * This library is free software; you can redistribute it and/or
18  * modify it under the terms of the GNU Lesser General Public
19  * License as published by the Free Software Foundation; either
20  * version 2.1 of the License, or (at your option) any later version.
21  *
22  * This library is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25  * Lesser General Public License for more details.
26  *
27  * You should have received a copy of the GNU Lesser General Public
28  * License along with this library; if not, write to the Free
29  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30  */
31 
32 #include <libgnomecanvasmm/item.h>
33 #include <libgnomecanvas/gnome-canvas-shape.h>
34 #include <libart_lgpl/art_vpath_dash.h> //For ArtVpathDash
35 
36 
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GnomeCanvasShape GnomeCanvasShape;
39 typedef struct _GnomeCanvasShapeClass GnomeCanvasShapeClass;
40 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
41 
42 
43 namespace Gnome
44 {
45 
46 namespace Canvas
47 { class Shape_Class; } // namespace Canvas
48 
49 } // namespace Gnome
50 namespace Gnome
51 {
52 
53 namespace Canvas
54 {
55 
56 
57 class Shape : public Item
58 {
59  public:
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61  typedef Shape CppObjectType;
62  typedef Shape_Class CppClassType;
63  typedef GnomeCanvasShape BaseObjectType;
64  typedef GnomeCanvasShapeClass BaseClassType;
65 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
66 
67  virtual ~Shape();
68 
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70 
71 private:
72  friend class Shape_Class;
73  static CppClassType shape_class_;
74 
75  // noncopyable
76  Shape(const Shape&);
77  Shape& operator=(const Shape&);
78 
79 protected:
80  explicit Shape(const Glib::ConstructParams& construct_params);
81  explicit Shape(GnomeCanvasShape* castitem);
82 
83 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
84 
85 public:
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87  static GType get_type() G_GNUC_CONST;
88  static GType get_base_type() G_GNUC_CONST;
89 #endif
90 
92  GnomeCanvasShape* gobj() { return reinterpret_cast<GnomeCanvasShape*>(gobject_); }
93 
95  const GnomeCanvasShape* gobj() const { return reinterpret_cast<GnomeCanvasShape*>(gobject_); }
96 
97 
98 public:
99  //C++ methods used to invoke GTK+ virtual functions:
100 #ifdef GLIBMM_VFUNCS_ENABLED
101 #endif //GLIBMM_VFUNCS_ENABLED
102 
103 protected:
104  //GTK+ Virtual Functions (override these to change behaviour):
105 #ifdef GLIBMM_VFUNCS_ENABLED
106 #endif //GLIBMM_VFUNCS_ENABLED
107 
108  //Default Signal Handlers::
109 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
110 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
111 
112 
113 private:
114 
115 
116 public:
117 
118  #ifdef GLIBMM_PROPERTIES_ENABLED
119 
125  Glib::PropertyProxy_WriteOnly<Glib::ustring> property_fill_color() ;
126 #endif //#GLIBMM_PROPERTIES_ENABLED
127 
128 
129  #ifdef GLIBMM_PROPERTIES_ENABLED
130 
136  Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk() ;
137 #endif //#GLIBMM_PROPERTIES_ENABLED
138 
139 #ifdef GLIBMM_PROPERTIES_ENABLED
140 
146  Glib::PropertyProxy_ReadOnly<Gdk::Color> property_fill_color_gdk() const;
147 #endif //#GLIBMM_PROPERTIES_ENABLED
148 
149  #ifdef GLIBMM_PROPERTIES_ENABLED
150 
156  Glib::PropertyProxy<guint> property_fill_color_rgba() ;
157 #endif //#GLIBMM_PROPERTIES_ENABLED
158 
159 #ifdef GLIBMM_PROPERTIES_ENABLED
160 
166  Glib::PropertyProxy_ReadOnly<guint> property_fill_color_rgba() const;
167 #endif //#GLIBMM_PROPERTIES_ENABLED
168 
169  #ifdef GLIBMM_PROPERTIES_ENABLED
170 
176  Glib::PropertyProxy_WriteOnly<Glib::ustring> property_outline_color() ;
177 #endif //#GLIBMM_PROPERTIES_ENABLED
178 
179 
180  #ifdef GLIBMM_PROPERTIES_ENABLED
181 
187  Glib::PropertyProxy<Gdk::Color> property_outline_color_gdk() ;
188 #endif //#GLIBMM_PROPERTIES_ENABLED
189 
190 #ifdef GLIBMM_PROPERTIES_ENABLED
191 
197  Glib::PropertyProxy_ReadOnly<Gdk::Color> property_outline_color_gdk() const;
198 #endif //#GLIBMM_PROPERTIES_ENABLED
199 
200  #ifdef GLIBMM_PROPERTIES_ENABLED
201 
207  Glib::PropertyProxy<guint> property_outline_color_rgba() ;
208 #endif //#GLIBMM_PROPERTIES_ENABLED
209 
210 #ifdef GLIBMM_PROPERTIES_ENABLED
211 
217  Glib::PropertyProxy_ReadOnly<guint> property_outline_color_rgba() const;
218 #endif //#GLIBMM_PROPERTIES_ENABLED
219 
220  #ifdef GLIBMM_PROPERTIES_ENABLED
221 
227  Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() ;
228 #endif //#GLIBMM_PROPERTIES_ENABLED
229 
230 #ifdef GLIBMM_PROPERTIES_ENABLED
231 
237  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() const;
238 #endif //#GLIBMM_PROPERTIES_ENABLED
239 
240  #ifdef GLIBMM_PROPERTIES_ENABLED
241 
247  Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() ;
248 #endif //#GLIBMM_PROPERTIES_ENABLED
249 
250 #ifdef GLIBMM_PROPERTIES_ENABLED
251 
257  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() const;
258 #endif //#GLIBMM_PROPERTIES_ENABLED
259 
260  #ifdef GLIBMM_PROPERTIES_ENABLED
261 
267  Glib::PropertyProxy<guint> property_width_pixels() ;
268 #endif //#GLIBMM_PROPERTIES_ENABLED
269 
270 #ifdef GLIBMM_PROPERTIES_ENABLED
271 
277  Glib::PropertyProxy_ReadOnly<guint> property_width_pixels() const;
278 #endif //#GLIBMM_PROPERTIES_ENABLED
279 
280  #ifdef GLIBMM_PROPERTIES_ENABLED
281 
287  Glib::PropertyProxy<double> property_width_units() ;
288 #endif //#GLIBMM_PROPERTIES_ENABLED
289 
290 #ifdef GLIBMM_PROPERTIES_ENABLED
291 
297  Glib::PropertyProxy_ReadOnly<double> property_width_units() const;
298 #endif //#GLIBMM_PROPERTIES_ENABLED
299 
300  #ifdef GLIBMM_PROPERTIES_ENABLED
301 
307  Glib::PropertyProxy<Gdk::CapStyle> property_cap_style() ;
308 #endif //#GLIBMM_PROPERTIES_ENABLED
309 
310 #ifdef GLIBMM_PROPERTIES_ENABLED
311 
317  Glib::PropertyProxy_ReadOnly<Gdk::CapStyle> property_cap_style() const;
318 #endif //#GLIBMM_PROPERTIES_ENABLED
319 
320  #ifdef GLIBMM_PROPERTIES_ENABLED
321 
327  Glib::PropertyProxy<Gdk::JoinStyle> property_join_style() ;
328 #endif //#GLIBMM_PROPERTIES_ENABLED
329 
330 #ifdef GLIBMM_PROPERTIES_ENABLED
331 
337  Glib::PropertyProxy_ReadOnly<Gdk::JoinStyle> property_join_style() const;
338 #endif //#GLIBMM_PROPERTIES_ENABLED
339 
340  #ifdef GLIBMM_PROPERTIES_ENABLED
341 
347  Glib::PropertyProxy<guint> property_wind() ;
348 #endif //#GLIBMM_PROPERTIES_ENABLED
349 
350 #ifdef GLIBMM_PROPERTIES_ENABLED
351 
357  Glib::PropertyProxy_ReadOnly<guint> property_wind() const;
358 #endif //#GLIBMM_PROPERTIES_ENABLED
359 
360  #ifdef GLIBMM_PROPERTIES_ENABLED
361 
367  Glib::PropertyProxy<double> property_miterlimit() ;
368 #endif //#GLIBMM_PROPERTIES_ENABLED
369 
370 #ifdef GLIBMM_PROPERTIES_ENABLED
371 
377  Glib::PropertyProxy_ReadOnly<double> property_miterlimit() const;
378 #endif //#GLIBMM_PROPERTIES_ENABLED
379 
380  #ifdef GLIBMM_PROPERTIES_ENABLED
381 
387  Glib::PropertyProxy<ArtVpathDash*> property_dash() ;
388 #endif //#GLIBMM_PROPERTIES_ENABLED
389 
390 #ifdef GLIBMM_PROPERTIES_ENABLED
391 
397  Glib::PropertyProxy_ReadOnly<ArtVpathDash*> property_dash() const;
398 #endif //#GLIBMM_PROPERTIES_ENABLED
399  //TODO: Look at ArtVpathDash to see if it should be wrapped.
400 
401 
402 };
403 
404 } /* namespace Canvas */
405 } /* namespace Gnome */
406 
407 
408 namespace Glib
409 {
418  Gnome::Canvas::Shape* wrap(GnomeCanvasShape* object, bool take_copy = false);
419 } //namespace Glib
420 
421 
422 #endif /* _LIBGNOMECANVASMM_SHAPE_H */
423 
Definition: bpath.h:149
Glib::PropertyProxy< guint > property_width_pixels()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Glib::RefPtr< Gdk::Bitmap > > property_outline_stipple()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: affinetrans.h:29
Glib::PropertyProxy< Gdk::JoinStyle > property_join_style()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
const GnomeCanvasShape * gobj() const
Provides access to the underlying C GtkObject.
Definition: shape.h:95
Glib::PropertyProxy< double > property_miterlimit()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Glib::RefPtr< Gdk::Bitmap > > property_fill_stipple()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_fill_color()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< guint > property_outline_color_rgba()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Gdk::Color > property_fill_color_gdk()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< ArtVpathDash * > property_dash()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
GnomeCanvasShape * gobj()
Provides access to the underlying C GtkObject.
Definition: shape.h:92
Glib::PropertyProxy< guint > property_fill_color_rgba()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< double > property_width_units()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: item.h:66
Glib::PropertyProxy< Gdk::CapStyle > property_cap_style()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Gdk::Color > property_outline_color_gdk()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_outline_color()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: shape.h:57
Glib::PropertyProxy< guint > property_wind()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...