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
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
38typedef struct _GnomeCanvasShape GnomeCanvasShape;
39typedef struct _GnomeCanvasShapeClass GnomeCanvasShapeClass;
40#endif /* DOXYGEN_SHOULD_SKIP_THIS */
41
42
43namespace Gnome
44{
45
46namespace Canvas
47{ class Shape_Class; } // namespace Canvas
48
49} // namespace Gnome
50namespace Gnome
51{
52
53namespace Canvas
54{
55
56
57class 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
71private:
72 friend class Shape_Class;
73 static CppClassType shape_class_;
74
75 // noncopyable
76 Shape(const Shape&);
77 Shape& operator=(const Shape&);
78
79protected:
80 explicit Shape(const Glib::ConstructParams& construct_params);
81 explicit Shape(GnomeCanvasShape* castitem);
82
83#endif /* DOXYGEN_SHOULD_SKIP_THIS */
84
85public:
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
98public:
99 //C++ methods used to invoke GTK+ virtual functions:
100#ifdef GLIBMM_VFUNCS_ENABLED
101#endif //GLIBMM_VFUNCS_ENABLED
102
103protected:
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
113private:
114
115
116public:
117
118 #ifdef GLIBMM_PROPERTIES_ENABLED
125 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_fill_color() ;
126#endif //#GLIBMM_PROPERTIES_ENABLED
127
128
129 #ifdef GLIBMM_PROPERTIES_ENABLED
136 Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk() ;
137#endif //#GLIBMM_PROPERTIES_ENABLED
138
139#ifdef GLIBMM_PROPERTIES_ENABLED
146 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_fill_color_gdk() const;
147#endif //#GLIBMM_PROPERTIES_ENABLED
148
149 #ifdef GLIBMM_PROPERTIES_ENABLED
156 Glib::PropertyProxy<guint> property_fill_color_rgba() ;
157#endif //#GLIBMM_PROPERTIES_ENABLED
158
159#ifdef GLIBMM_PROPERTIES_ENABLED
166 Glib::PropertyProxy_ReadOnly<guint> property_fill_color_rgba() const;
167#endif //#GLIBMM_PROPERTIES_ENABLED
168
169 #ifdef GLIBMM_PROPERTIES_ENABLED
176 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_outline_color() ;
177#endif //#GLIBMM_PROPERTIES_ENABLED
178
179
180 #ifdef GLIBMM_PROPERTIES_ENABLED
187 Glib::PropertyProxy<Gdk::Color> property_outline_color_gdk() ;
188#endif //#GLIBMM_PROPERTIES_ENABLED
189
190#ifdef GLIBMM_PROPERTIES_ENABLED
197 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_outline_color_gdk() const;
198#endif //#GLIBMM_PROPERTIES_ENABLED
199
200 #ifdef GLIBMM_PROPERTIES_ENABLED
207 Glib::PropertyProxy<guint> property_outline_color_rgba() ;
208#endif //#GLIBMM_PROPERTIES_ENABLED
209
210#ifdef GLIBMM_PROPERTIES_ENABLED
217 Glib::PropertyProxy_ReadOnly<guint> property_outline_color_rgba() const;
218#endif //#GLIBMM_PROPERTIES_ENABLED
219
220 #ifdef GLIBMM_PROPERTIES_ENABLED
227 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() ;
228#endif //#GLIBMM_PROPERTIES_ENABLED
229
230#ifdef GLIBMM_PROPERTIES_ENABLED
237 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() const;
238#endif //#GLIBMM_PROPERTIES_ENABLED
239
240 #ifdef GLIBMM_PROPERTIES_ENABLED
247 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() ;
248#endif //#GLIBMM_PROPERTIES_ENABLED
249
250#ifdef GLIBMM_PROPERTIES_ENABLED
257 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() const;
258#endif //#GLIBMM_PROPERTIES_ENABLED
259
260 #ifdef GLIBMM_PROPERTIES_ENABLED
267 Glib::PropertyProxy<guint> property_width_pixels() ;
268#endif //#GLIBMM_PROPERTIES_ENABLED
269
270#ifdef GLIBMM_PROPERTIES_ENABLED
277 Glib::PropertyProxy_ReadOnly<guint> property_width_pixels() const;
278#endif //#GLIBMM_PROPERTIES_ENABLED
279
280 #ifdef GLIBMM_PROPERTIES_ENABLED
287 Glib::PropertyProxy<double> property_width_units() ;
288#endif //#GLIBMM_PROPERTIES_ENABLED
289
290#ifdef GLIBMM_PROPERTIES_ENABLED
297 Glib::PropertyProxy_ReadOnly<double> property_width_units() const;
298#endif //#GLIBMM_PROPERTIES_ENABLED
299
300 #ifdef GLIBMM_PROPERTIES_ENABLED
307 Glib::PropertyProxy<Gdk::CapStyle> property_cap_style() ;
308#endif //#GLIBMM_PROPERTIES_ENABLED
309
310#ifdef GLIBMM_PROPERTIES_ENABLED
317 Glib::PropertyProxy_ReadOnly<Gdk::CapStyle> property_cap_style() const;
318#endif //#GLIBMM_PROPERTIES_ENABLED
319
320 #ifdef GLIBMM_PROPERTIES_ENABLED
327 Glib::PropertyProxy<Gdk::JoinStyle> property_join_style() ;
328#endif //#GLIBMM_PROPERTIES_ENABLED
329
330#ifdef GLIBMM_PROPERTIES_ENABLED
337 Glib::PropertyProxy_ReadOnly<Gdk::JoinStyle> property_join_style() const;
338#endif //#GLIBMM_PROPERTIES_ENABLED
339
340 #ifdef GLIBMM_PROPERTIES_ENABLED
347 Glib::PropertyProxy<guint> property_wind() ;
348#endif //#GLIBMM_PROPERTIES_ENABLED
349
350#ifdef GLIBMM_PROPERTIES_ENABLED
357 Glib::PropertyProxy_ReadOnly<guint> property_wind() const;
358#endif //#GLIBMM_PROPERTIES_ENABLED
359
360 #ifdef GLIBMM_PROPERTIES_ENABLED
367 Glib::PropertyProxy<double> property_miterlimit() ;
368#endif //#GLIBMM_PROPERTIES_ENABLED
369
370#ifdef GLIBMM_PROPERTIES_ENABLED
377 Glib::PropertyProxy_ReadOnly<double> property_miterlimit() const;
378#endif //#GLIBMM_PROPERTIES_ENABLED
379
380 #ifdef GLIBMM_PROPERTIES_ENABLED
387 Glib::PropertyProxy<ArtVpathDash*> property_dash() ;
388#endif //#GLIBMM_PROPERTIES_ENABLED
389
390#ifdef GLIBMM_PROPERTIES_ENABLED
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
408namespace 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 item.h:67
Definition shape.h:58
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.
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< 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.
Glib::PropertyProxy_ReadOnly< Gdk::Color > property_outline_color_gdk() const
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_ReadOnly< Gdk::CapStyle > property_cap_style() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< double > property_miterlimit() const
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< 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_ReadOnly< double > property_width_units() const
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_ReadOnly< Gdk::JoinStyle > property_join_style() const
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.
Glib::PropertyProxy< double > property_width_units()
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_ReadOnly< Glib::RefPtr< Gdk::Bitmap > > property_outline_stipple() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Gdk::Color > property_fill_color_gdk() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< ArtVpathDash * > property_dash() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< guint > property_width_pixels() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Bitmap > > property_fill_stipple() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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< 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_ReadOnly< guint > property_outline_color_rgba() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< guint > property_wind() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< guint > property_fill_color_rgba() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< guint > property_wind()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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< Gdk::CapStyle > property_cap_style()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Gnome::Canvas::Shape * wrap(GnomeCanvasShape *object, bool take_copy=false)
A Glib::wrap() method for this object.
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.
Glib::PropertyProxy< double > property_miterlimit()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Definition bpath.h:150
Definition affinetrans.h:30