polyline.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GOOCANVASMM_POLYLINE_H
00004 #define _GOOCANVASMM_POLYLINE_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 1998-2006 The gtkmm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024  */
00025 
00026 
00027 #include <goocanvasmm/itemsimple.h>
00028 #include <goocanvasmm/points.h>
00029 
00030 
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GooCanvasPolyline GooCanvasPolyline;
00033 typedef struct _GooCanvasPolylineClass GooCanvasPolylineClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Goocanvas
00038 { class Polyline_Class; } // namespace Goocanvas
00039 namespace Goocanvas
00040 {
00041 
00042 
00043 class Polyline : public Goocanvas::ItemSimple
00044 {
00045   
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047 
00048 public:
00049   typedef Polyline CppObjectType;
00050   typedef Polyline_Class CppClassType;
00051   typedef GooCanvasPolyline BaseObjectType;
00052   typedef GooCanvasPolylineClass BaseClassType;
00053 
00054 private:  friend class Polyline_Class;
00055   static CppClassType polyline_class_;
00056 
00057 private:
00058   // noncopyable
00059   Polyline(const Polyline&);
00060   Polyline& operator=(const Polyline&);
00061 
00062 protected:
00063   explicit Polyline(const Glib::ConstructParams& construct_params);
00064   explicit Polyline(GooCanvasPolyline* castitem);
00065 
00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00067 
00068 public:
00069   virtual ~Polyline();
00070 
00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00072   static GType get_type()      G_GNUC_CONST;
00073   static GType get_base_type() G_GNUC_CONST;
00074 #endif
00075 
00077   GooCanvasPolyline*       gobj()       { return reinterpret_cast<GooCanvasPolyline*>(gobject_); }
00078 
00080   const GooCanvasPolyline* gobj() const { return reinterpret_cast<GooCanvasPolyline*>(gobject_); }
00081 
00083   GooCanvasPolyline* gobj_copy();
00084 
00085 private:
00086 
00087 protected:
00088 
00089   Polyline(bool close_path, const Points& coords);
00090   Polyline(double x1, double y1, double x2, double y2);
00091   
00092 
00093 public:
00094 
00095   
00096   static Glib::RefPtr<Polyline> create(bool close_path, const Points& coords);
00097 
00098   
00099   static Glib::RefPtr<Polyline> create(double x1, double y1, double x2, double y2);
00100 
00101 
00102   #ifdef GLIBMM_PROPERTIES_ENABLED
00103 
00109   Glib::PropertyProxy<double> property_arrow_length() ;
00110 #endif //#GLIBMM_PROPERTIES_ENABLED
00111 
00112 #ifdef GLIBMM_PROPERTIES_ENABLED
00113 
00119   Glib::PropertyProxy_ReadOnly<double> property_arrow_length() const;
00120 #endif //#GLIBMM_PROPERTIES_ENABLED
00121 
00122   #ifdef GLIBMM_PROPERTIES_ENABLED
00123 
00129   Glib::PropertyProxy<double> property_arrow_tip_length() ;
00130 #endif //#GLIBMM_PROPERTIES_ENABLED
00131 
00132 #ifdef GLIBMM_PROPERTIES_ENABLED
00133 
00139   Glib::PropertyProxy_ReadOnly<double> property_arrow_tip_length() const;
00140 #endif //#GLIBMM_PROPERTIES_ENABLED
00141 
00142   #ifdef GLIBMM_PROPERTIES_ENABLED
00143 
00149   Glib::PropertyProxy<double> property_arrow_width() ;
00150 #endif //#GLIBMM_PROPERTIES_ENABLED
00151 
00152 #ifdef GLIBMM_PROPERTIES_ENABLED
00153 
00159   Glib::PropertyProxy_ReadOnly<double> property_arrow_width() const;
00160 #endif //#GLIBMM_PROPERTIES_ENABLED
00161 
00162   #ifdef GLIBMM_PROPERTIES_ENABLED
00163 
00169   Glib::PropertyProxy<bool> property_close_path() ;
00170 #endif //#GLIBMM_PROPERTIES_ENABLED
00171 
00172 #ifdef GLIBMM_PROPERTIES_ENABLED
00173 
00179   Glib::PropertyProxy_ReadOnly<bool> property_close_path() const;
00180 #endif //#GLIBMM_PROPERTIES_ENABLED
00181 
00182   #ifdef GLIBMM_PROPERTIES_ENABLED
00183 
00189   Glib::PropertyProxy<bool> property_end_arrow() ;
00190 #endif //#GLIBMM_PROPERTIES_ENABLED
00191 
00192 #ifdef GLIBMM_PROPERTIES_ENABLED
00193 
00199   Glib::PropertyProxy_ReadOnly<bool> property_end_arrow() const;
00200 #endif //#GLIBMM_PROPERTIES_ENABLED
00201 
00202   #ifdef GLIBMM_PROPERTIES_ENABLED
00203 
00209   Glib::PropertyProxy<Points> property_points() ;
00210 #endif //#GLIBMM_PROPERTIES_ENABLED
00211 
00212 #ifdef GLIBMM_PROPERTIES_ENABLED
00213 
00219   Glib::PropertyProxy_ReadOnly<Points> property_points() const;
00220 #endif //#GLIBMM_PROPERTIES_ENABLED
00221 
00222   #ifdef GLIBMM_PROPERTIES_ENABLED
00223 
00229   Glib::PropertyProxy<bool> property_start_arrow() ;
00230 #endif //#GLIBMM_PROPERTIES_ENABLED
00231 
00232 #ifdef GLIBMM_PROPERTIES_ENABLED
00233 
00239   Glib::PropertyProxy_ReadOnly<bool> property_start_arrow() const;
00240 #endif //#GLIBMM_PROPERTIES_ENABLED
00241 
00242 
00243 public:
00244 
00245 public:
00246   //C++ methods used to invoke GTK+ virtual functions:
00247 #ifdef GLIBMM_VFUNCS_ENABLED
00248 #endif //GLIBMM_VFUNCS_ENABLED
00249 
00250 protected:
00251   //GTK+ Virtual Functions (override these to change behaviour):
00252 #ifdef GLIBMM_VFUNCS_ENABLED
00253 #endif //GLIBMM_VFUNCS_ENABLED
00254 
00255   //Default Signal Handlers::
00256 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00257 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00258 
00259 
00260 };
00261 
00262 }
00263 
00264 
00265 namespace Glib
00266 {
00275   Glib::RefPtr<Goocanvas::Polyline> wrap(GooCanvasPolyline* object, bool take_copy = false);
00276 }
00277 
00278 
00279 #endif /* _GOOCANVASMM_POLYLINE_H */
00280 

Generated on Wed Sep 3 02:53:27 2008 for goocanvasmm by  doxygen 1.5.6