Lines Matching refs:polygon
32 struct polygon;
37 struct polygon *polygon_create(int size);
38 struct polygon *polygon_create_from_data(float *data, int size);
39 void polygon_destroy(struct polygon *poly);
41 void polygon_resize(struct polygon *poly, int new_size);
42 int polygon_size(struct polygon *poly);
44 int polygon_vertex_count(struct polygon *poly);
45 float * polygon_data(struct polygon *poly);
47 void polygon_vertex_append(struct polygon *p,
49 void polygon_append_polygon(struct polygon *dst,
50 struct polygon *src);
51 void polygon_set_vertex(struct polygon *p, int idx,
53 void polygon_vertex(struct polygon *p, int idx,
56 void polygon_bounding_rect(struct polygon *p,
58 int polygon_contains_point(struct polygon *p,
61 VGboolean polygon_is_closed(struct polygon *p);
63 void polygon_fill(struct polygon *p, struct vg_context *pipe);