/*
- * $Id: rb_polygon.c 54 2004-08-09 10:51:39Z tilman $
+ * $Id: rb_polygon.c 58 2004-08-10 14:10:02Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
c_evas_object_free (e, true);
}
+/*
+ * call-seq:
+ * Evas::Polygon.new(evas) => polygon
+ *
+ * Creates an new Evas::Polygon object.
+ */
static VALUE c_new (VALUE klass, VALUE evas)
{
VALUE self, argv[1];
return self;
}
+/*
+ * call-seq:
+ * polygon.add_point(x, y) => nil
+ *
+ * Adds a point to <i>polygon</i>.
+ */
static VALUE c_add_point (VALUE self, VALUE x, VALUE y)
{
GET_OBJ (self, RbEvasObject, e);
return Qnil;
}
+/*
+ * call-seq:
+ * polygon.clear_points => nil
+ *
+ * Clears the points of <i>polygon</i>.
+ */
static VALUE c_clear_points (VALUE self)
{
GET_OBJ (self, RbEvasObject, e);