00001
00002
00003 #ifndef _LIBGNOMECANVASMM_SHAPE_H
00004 #define _LIBGNOMECANVASMM_SHAPE_H
00005
00006 #include <glibmm.h>
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #include <libgnomecanvasmm/item.h>
00032 #include <libgnomecanvas/gnome-canvas-shape.h>
00033 #include <libart_lgpl/art_vpath_dash.h>
00034
00035
00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00037 typedef struct _GnomeCanvasShape GnomeCanvasShape;
00038 typedef struct _GnomeCanvasShapeClass GnomeCanvasShapeClass;
00039 #endif
00040
00041
00042 namespace Gnome
00043 {
00044
00045 namespace Canvas
00046 { class Shape_Class; }
00047
00048 }
00049 namespace Gnome
00050 {
00051
00052 namespace Canvas
00053 {
00054
00055
00056 class Shape : public Item
00057 {
00058 public:
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060 typedef Shape CppObjectType;
00061 typedef Shape_Class CppClassType;
00062 typedef GnomeCanvasShape BaseObjectType;
00063 typedef GnomeCanvasShapeClass BaseClassType;
00064 #endif
00065
00066 virtual ~Shape();
00067
00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00069
00070 private:
00071 friend class Shape_Class;
00072 static CppClassType shape_class_;
00073
00074
00075 Shape(const Shape&);
00076 Shape& operator=(const Shape&);
00077
00078 protected:
00079 explicit Shape(const Glib::ConstructParams& construct_params);
00080 explicit Shape(GnomeCanvasShape* castitem);
00081
00082 #endif
00083
00084 public:
00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00086 static GType get_type() G_GNUC_CONST;
00087 static GType get_base_type() G_GNUC_CONST;
00088 #endif
00089
00091 GnomeCanvasShape* gobj() { return reinterpret_cast<GnomeCanvasShape*>(gobject_); }
00092
00094 const GnomeCanvasShape* gobj() const { return reinterpret_cast<GnomeCanvasShape*>(gobject_); }
00095
00096
00097 public:
00098
00099
00100 protected:
00101
00102
00103
00104
00105
00106 private:
00107
00108
00109 public:
00110
00117 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_fill_color() ;
00118
00119
00126 Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk() ;
00127
00134 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_fill_color_gdk() const;
00135
00142 Glib::PropertyProxy<guint> property_fill_color_rgba() ;
00143
00150 Glib::PropertyProxy_ReadOnly<guint> property_fill_color_rgba() const;
00151
00158 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_outline_color() ;
00159
00160
00167 Glib::PropertyProxy<Gdk::Color> property_outline_color_gdk() ;
00168
00175 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_outline_color_gdk() const;
00176
00183 Glib::PropertyProxy<guint> property_outline_color_rgba() ;
00184
00191 Glib::PropertyProxy_ReadOnly<guint> property_outline_color_rgba() const;
00192
00199 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() ;
00200
00207 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() const;
00208
00215 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() ;
00216
00223 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() const;
00224
00231 Glib::PropertyProxy<guint> property_width_pixels() ;
00232
00239 Glib::PropertyProxy_ReadOnly<guint> property_width_pixels() const;
00240
00247 Glib::PropertyProxy_WriteOnly<double> property_width_units() ;
00248
00249
00256 Glib::PropertyProxy<Gdk::CapStyle> property_cap_style() ;
00257
00264 Glib::PropertyProxy_ReadOnly<Gdk::CapStyle> property_cap_style() const;
00265
00272 Glib::PropertyProxy<Gdk::JoinStyle> property_join_style() ;
00273
00280 Glib::PropertyProxy_ReadOnly<Gdk::JoinStyle> property_join_style() const;
00281
00288 Glib::PropertyProxy<guint> property_wind() ;
00289
00296 Glib::PropertyProxy_ReadOnly<guint> property_wind() const;
00297
00304 Glib::PropertyProxy<double> property_miterlimit() ;
00305
00312 Glib::PropertyProxy_ReadOnly<double> property_miterlimit() const;
00313
00320 Glib::PropertyProxy<ArtVpathDash*> property_dash() ;
00321
00328 Glib::PropertyProxy_ReadOnly<ArtVpathDash*> property_dash() const;
00329
00330
00331
00332 };
00333
00334 }
00335 }
00336
00337 namespace Glib
00338 {
00344 Gnome::Canvas::Shape* wrap(GnomeCanvasShape* object, bool take_copy = false);
00345 }
00346 #endif
00347