Code

Translations. French translation minor update.
[inkscape.git] / src / sp-polygon.h
1 #ifndef __SP_POLYGON_H__
2 #define __SP_POLYGON_H__
4 /*
5  * SVG <polygon> implementation
6  *
7  * Authors:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *
10  * Copyright (C) 1999-2002 Lauris Kaplinski
11  * Copyright (C) 2000-2001 Ximian, Inc.
12  *
13  * Released under GNU GPL, read the file 'COPYING' for more information
14  */
16 #include "sp-shape.h"
18 #define SP_TYPE_POLYGON (sp_polygon_get_type ())
19 #define SP_POLYGON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_POLYGON, SPPolygon))
20 #define SP_POLYGON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_POLYGON, SPPolygonClass))
21 #define SP_IS_POLYGON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_POLYGON))
22 #define SP_IS_POLYGON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_POLYGON))
24 struct SPPolygon : public SPShape {
25 };
27 struct SPPolygonClass {
28         SPShapeClass parent_class;
29 };
31 GType sp_polygon_get_type (void);
33 // made 'public' so that SPCurve can set it as friend:
34 void sp_polygon_set(SPObject *object, unsigned int key, const gchar *value);
36 #endif