38 va_start(args, num_points);
39 for(i=0; i < num_points; ++i) {
40 pts[i] = va_arg(args,
point*);
unsigned short num_points
Representation of a circle.
shape * shape_create(ushort num_points,...)
Representation of a shape.
shape * shape_create_quad(point *top_left_corner, uchar width, uchar height)
shape * shape_create_triangle(point *p0, point *p1, point *p2)
point * shape_create_point(ushort x, ushort y, shade_t shade)
shape * shape_duplicate_shape(shape *s)
Representation of an ordered pair with a shade.
void shape_destroy_shape(shape *sh)
circle * shape_create_circle(ushort radius, point *center)