// -*- c++ -*-
//  Generated by gtkmmproc from ./../canvas-polygon.gen_h -- DO NOT MODIFY!
#ifndef _GNOMEMM_CANVAS_POLYGON_H
#define _GNOMEMM_CANVAS_POLYGON_H

/* $Id: canvas-polygon.gen_h,v 1.8 2001/02/08 18:51:34 murrayc Exp $ */


/* canvas-polygon.gen_h
 *
 * Copyright (C) 1999 The Gtk-- Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gnome--/canvas-item.h>
#include <gnome--/canvas-line.h>
#include <libgnomeui/gnome-canvas-polygon.h>

namespace Gnome {
class CanvasPolygon;
class CanvasPolygon_Class;
}
namespace Gtk { Gnome::CanvasPolygon *wrap (GnomeCanvasPolygon *o); }
namespace Gnome
{

class CanvasPolygon : public CanvasItem
{

public:
  typedef CanvasPolygon          CppObjectType;
  typedef CanvasPolygon_Class    CppClassType;
  typedef GnomeCanvasPolygon           BaseObjectType;
  typedef GnomeCanvasPolygonClass      BaseClassType;

private:
  friend class CanvasPolygon_Class;
  static CppClassType canvas_polygon_class;

  CanvasPolygon(const CanvasPolygon&);
  CanvasPolygon& operator=(const CanvasPolygon&); // not implemented

protected:
  void   initialize_class();
  explicit CanvasPolygon(GnomeCanvasPolygon *castitem);

public:
  static GtkType get_type();
  GnomeCanvasPolygon* gtkobj()             { return (GnomeCanvasPolygon*)(gtkobject); }
  const GnomeCanvasPolygon* gtkobj() const { return (GnomeCanvasPolygon*)(gtkobject); }
  static bool isA(Gtk::Object *checkcast);

  // Hook for proxies
  static const char* const signal_names[];

  virtual ~CanvasPolygon();

private:

public:
  CanvasPolygon(const CanvasGroup &parent,
		      const gchar *first_arg_name,
		      ...);
  CanvasPolygon(const CanvasGroup &parent);



  CanvasPolygon& set_points             (const CanvasPoints &points);
  CanvasPolygon& set_fill_color         (const string &colorname);
  CanvasPolygon& set_fill_color_gdk     (const Gdk_Color &color);
  CanvasPolygon& set_fill_color_rgba    (guint rgba);
  CanvasPolygon& set_fill_stipple       (const Gdk_Window &window);
  CanvasPolygon& set_outline_color      (const string &colorname);
  CanvasPolygon& set_outline_color_gdk  (const Gdk_Color &color);
  CanvasPolygon& set_outline_color_rgba (guint rgba);
  CanvasPolygon& set_outline_stipple    (const Gdk_Window &window);
  CanvasPolygon& set_width_pixels       (guint width);
  CanvasPolygon& set_width_units        (gdouble units);

public:

protected:
  // impl functions

};



}


#endif
