summaryrefslogtreecommitdiffstats
path: root/src/sp-polygon.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-01-16 02:36:01 +0000
committermental <mental@users.sourceforge.net>2006-01-16 02:36:01 +0000
commit179fa413b047bede6e32109e2ce82437c5fb8d34 (patch)
treea5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /src/sp-polygon.h
downloadinkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz
inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'src/sp-polygon.h')
-rw-r--r--src/sp-polygon.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/sp-polygon.h b/src/sp-polygon.h
new file mode 100644
index 000000000..0da720fc2
--- /dev/null
+++ b/src/sp-polygon.h
@@ -0,0 +1,33 @@
+#ifndef __SP_POLYGON_H__
+#define __SP_POLYGON_H__
+
+/*
+ * SVG <polygon> implementation
+ *
+ * Authors:
+ * Lauris Kaplinski <lauris@kaplinski.com>
+ *
+ * Copyright (C) 1999-2002 Lauris Kaplinski
+ * Copyright (C) 2000-2001 Ximian, Inc.
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "sp-shape.h"
+
+#define SP_TYPE_POLYGON (sp_polygon_get_type ())
+#define SP_POLYGON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_POLYGON, SPPolygon))
+#define SP_POLYGON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_POLYGON, SPPolygonClass))
+#define SP_IS_POLYGON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_POLYGON))
+#define SP_IS_POLYGON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_POLYGON))
+
+struct SPPolygon : public SPShape {
+};
+
+struct SPPolygonClass {
+ SPShapeClass parent_class;
+};
+
+GType sp_polygon_get_type (void);
+
+#endif