]> Pileus Git - grits/blobdiff - src/objects/grits-poly.h
Update copyright notices
[grits] / src / objects / grits-poly.h
index df70b67717c02b41ee8d1ddc34f5b767c2e27dac..449286981e2715c2ec3a531133dc80968a00e6c0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Andy Spencer <andy753421@gmail.com>
+ * Copyright (C) 2010-2011 Andy Spencer <andy753421@gmail.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +40,7 @@ struct _GritsPoly {
        gdouble      color[4];
        gdouble      border[4];
        gdouble      width;
-       guint        list;
+       guint        list[2];
 };
 
 struct _GritsPolyClass {
@@ -51,4 +51,7 @@ GType grits_poly_get_type(void);
 
 GritsPoly *grits_poly_new(gdouble (**points)[3]);
 
+GritsPoly *grits_poly_parse(const gchar *str,
+               const gchar *poly_sep, const gchar *point_sep, const gchar *coord_sep);
+
 #endif