3#ifndef _LIBGNOMECANVASMM_POLYGON_H
4#define _LIBGNOMECANVASMM_POLYGON_H
33#include <libgnomecanvas/gnome-canvas-polygon.h>
36#ifndef DOXYGEN_SHOULD_SKIP_THIS
37typedef struct _GnomeCanvasPolygon GnomeCanvasPolygon;
38typedef struct _GnomeCanvasPolygonClass GnomeCanvasPolygonClass;
46{
class Polygon_Class; }
59#ifndef DOXYGEN_SHOULD_SKIP_THIS
61 typedef Polygon_Class CppClassType;
62 typedef GnomeCanvasPolygon BaseObjectType;
63 typedef GnomeCanvasPolygonClass BaseClassType;
68#ifndef DOXYGEN_SHOULD_SKIP_THIS
71 friend class Polygon_Class;
72 static CppClassType polygon_class_;
79 explicit Polygon(
const Glib::ConstructParams& construct_params);
80 explicit Polygon(GnomeCanvasPolygon* castitem);
85#ifndef DOXYGEN_SHOULD_SKIP_THIS
86 static GType get_type() G_GNUC_CONST;
87 static GType get_base_type() G_GNUC_CONST;
91 GnomeCanvasPolygon*
gobj() {
return reinterpret_cast<GnomeCanvasPolygon*
>(gobject_); }
94 const GnomeCanvasPolygon*
gobj()
const {
return reinterpret_cast<GnomeCanvasPolygon*
>(gobject_); }
99#ifdef GLIBMM_VFUNCS_ENABLED
104#ifdef GLIBMM_VFUNCS_ENABLED
108#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
118 #ifdef GLIBMM_PROPERTIES_ENABLED
128#ifdef GLIBMM_PROPERTIES_ENABLED
Wrapper for GnomeCanvasPoints.
Definition line.h:79
Gnome::Canvas::Polygon * wrap(GnomeCanvasPolygon *object, bool take_copy=false)
A Glib::wrap() method for this object.
Glib::PropertyProxy< Points > property_points()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
const GnomeCanvasPolygon * gobj() const
Provides access to the underlying C GtkObject.
Definition polygon.h:94
Glib::PropertyProxy_ReadOnly< Points > property_points() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
GnomeCanvasPolygon * gobj()
Provides access to the underlying C GtkObject.
Definition polygon.h:91
Polygon(Group &parent, const Points &points)
Definition affinetrans.h:30