00001
00002
00003 #ifndef _LIBGNOMECANVASMM_BPATH_H
00004 #define _LIBGNOMECANVASMM_BPATH_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 #include <libgnomecanvasmm/shape.h>
00031 #include <libgnomecanvasmm/path-def.h>
00032 #include <libgnomecanvas/gnome-canvas-bpath.h>
00033
00034
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GnomeCanvasBpath GnomeCanvasBpath;
00037 typedef struct _GnomeCanvasBpathClass GnomeCanvasBpathClass;
00038 #endif
00039
00040
00041 namespace Gnome
00042 {
00043
00044 namespace Canvas
00045 { class Bpath_Class; }
00046
00047 }
00048 namespace Gnome
00049 {
00050
00051 namespace Canvas
00052 {
00053
00054
00055 class Bpath : public Shape
00056 {
00057 public:
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 typedef Bpath CppObjectType;
00060 typedef Bpath_Class CppClassType;
00061 typedef GnomeCanvasBpath BaseObjectType;
00062 typedef GnomeCanvasBpathClass BaseClassType;
00063 #endif
00064
00065 virtual ~Bpath();
00066
00067 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00068
00069 private:
00070 friend class Bpath_Class;
00071 static CppClassType bpath_class_;
00072
00073
00074 Bpath(const Bpath&);
00075 Bpath& operator=(const Bpath&);
00076
00077 protected:
00078 explicit Bpath(const Glib::ConstructParams& construct_params);
00079 explicit Bpath(GnomeCanvasBpath* castitem);
00080
00081 #endif
00082
00083 public:
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086 static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088
00090 GnomeCanvasBpath* gobj() { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); }
00091
00093 const GnomeCanvasBpath* gobj() const { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); }
00094
00095
00096 public:
00097
00098
00099 protected:
00100
00101
00102
00103
00104
00105 private:
00106
00107 public:
00108 explicit Bpath(Group& parent);
00109
00110
00116 Glib::PropertyProxy<gpointer> property_bpath();
00117
00118
00119 void set_bpath(const Glib::RefPtr<PathDef>& path);
00120
00121
00122 };
00123
00124 }
00125
00126 }
00127
00128
00129 namespace Glib
00130 {
00132 Gnome::Canvas::Bpath* wrap(GnomeCanvasBpath* object, bool take_copy = false);
00133 }
00134 #endif
00135