X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2Fobjects%2Fgrits-poly.h;h=608baf3df5da464e3bcad14cd621b3dbaef5b423;hb=7940344c1faea5b80fb39b44419b508568d3a6fc;hp=4368df9a5006a69419143db3996df5c7fc3df8f5;hpb=12e39aa0ca2c7e6843bf1a1e0a9d73c3c84cc166;p=grits diff --git a/src/objects/grits-poly.h b/src/objects/grits-poly.h index 4368df9..608baf3 100644 --- a/src/objects/grits-poly.h +++ b/src/objects/grits-poly.h @@ -38,6 +38,8 @@ struct _GritsPoly { GritsObject parent_instance; gdouble (**points)[3]; gdouble color[4]; + gdouble border[4]; + gdouble width; guint list; }; @@ -49,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