Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

shape.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMECANVASMM_SHAPE_H 00004 #define _LIBGNOMECANVASMM_SHAPE_H 00005 00006 #include <glibmm.h> 00007 00008 // -*- C++ -*- 00009 /* $Id: shape.hg,v 1.8 2002/08/08 22:28:16 cactus Exp $ */ 00010 00011 /* shape.h 00012 * 00013 * 00014 * Copyright (C) 2002 The libgnomecanvasmm Development Team 00015 * 00016 * This library is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU Library General Public 00018 * License as published by the Free Software Foundation; either 00019 * version 2 of the License, or (at your option) any later version. 00020 * 00021 * This library is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 * Library General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU Library General Public 00027 * License along with this library; if not, write to the Free 00028 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00029 */ 00030 00031 #include <libgnomecanvasmm/item.h> 00032 #include <libgnomecanvas/gnome-canvas-shape.h> 00033 #include <libart_lgpl/art_vpath_dash.h> //For ArtVpathDash 00034 00035 00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00037 typedef struct _GnomeCanvasShape GnomeCanvasShape; 00038 typedef struct _GnomeCanvasShapeClass GnomeCanvasShapeClass; 00039 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00040 00041 00042 namespace Gnome 00043 { 00044 00045 namespace Canvas 00046 { class Shape_Class; } // namespace Canvas 00047 00048 } // namespace Gnome 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 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 // noncopyable 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 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 //C++ methods used to invoke GTK+ virtual functions: 00099 00100 protected: 00101 //GTK+ Virtual Functions (override these to change behaviour): 00102 00103 //Default Signal Handlers:: 00104 00105 00106 private: 00107 00108 00109 public: 00110 00115 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_fill_color() ; 00116 00121 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_fill_color() const; 00122 00127 Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk() ; 00128 00133 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_fill_color_gdk() const; 00134 00139 Glib::PropertyProxy<guint> property_fill_color_rgba() ; 00140 00145 Glib::PropertyProxy_ReadOnly<guint> property_fill_color_rgba() const; 00146 00151 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_outline_color() ; 00152 00157 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_outline_color() const; 00158 00163 Glib::PropertyProxy<Gdk::Color> property_outline_color_gdk() ; 00164 00169 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_outline_color_gdk() const; 00170 00175 Glib::PropertyProxy<guint> property_outline_color_rgba() ; 00176 00181 Glib::PropertyProxy_ReadOnly<guint> property_outline_color_rgba() const; 00182 00187 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() ; 00188 00193 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() const; 00194 00199 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() ; 00200 00205 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_outline_stipple() const; 00206 00211 Glib::PropertyProxy<guint> property_width_pixels() ; 00212 00217 Glib::PropertyProxy_ReadOnly<guint> property_width_pixels() const; 00218 00223 Glib::PropertyProxy_WriteOnly<double> property_width_units() ; 00224 00229 Glib::PropertyProxy_ReadOnly<double> property_width_units() const; 00230 00235 Glib::PropertyProxy<Gdk::CapStyle> property_cap_style() ; 00236 00241 Glib::PropertyProxy_ReadOnly<Gdk::CapStyle> property_cap_style() const; 00242 00247 Glib::PropertyProxy<Gdk::JoinStyle> property_join_style() ; 00248 00253 Glib::PropertyProxy_ReadOnly<Gdk::JoinStyle> property_join_style() const; 00254 00259 Glib::PropertyProxy<guint> property_wind() ; 00260 00265 Glib::PropertyProxy_ReadOnly<guint> property_wind() const; 00266 00271 Glib::PropertyProxy<double> property_miterlimit() ; 00272 00277 Glib::PropertyProxy_ReadOnly<double> property_miterlimit() const; 00278 00283 Glib::PropertyProxy<ArtVpathDash*> property_dash() ; 00284 00289 Glib::PropertyProxy_ReadOnly<ArtVpathDash*> property_dash() const; 00290 //TODO: Look at ArtVpathDash to see if it should be wrapped. 00291 00292 00293 }; 00294 00295 } /* namespace Canvas */ 00296 } /* namespace Gnome */ 00297 00298 namespace Glib 00299 { 00305 Gnome::Canvas::Shape* wrap(GnomeCanvasShape* object, bool take_copy = false); 00306 } 00307 #endif /* _LIBGNOMECANVASMM_SHAPE_H */ 00308

Generated on Tue Jun 8 01:25:56 2004 for libgnomecanvasmm by doxygen 1.3.7