Lines Matching refs:polygon
52 struct polygon struct
70 static void polygon_print(struct polygon *poly) argument
84 struct polygon * polygon_create(int size) in polygon_create()
86 struct polygon *poly = (struct polygon*)malloc(sizeof(struct polygon)); in polygon_create()
97 struct polygon * polygon_create_from_data(float *data, int size) in polygon_create_from_data()
99 struct polygon *poly = polygon_create(size); in polygon_create_from_data()
109 void polygon_destroy(struct polygon *poly) in polygon_destroy()
115 void polygon_resize(struct polygon *poly, int new_size) in polygon_resize()
127 int polygon_size(struct polygon *poly) in polygon_size()
132 int polygon_vertex_count(struct polygon *poly) in polygon_vertex_count()
137 float * polygon_data(struct polygon *poly) in polygon_data()
142 void polygon_vertex_append(struct polygon *p, in polygon_vertex_append()
160 void polygon_set_vertex(struct polygon *p, int idx, in polygon_set_vertex()
176 void polygon_vertex(struct polygon *p, int idx, in polygon_vertex()
191 void polygon_bounding_rect(struct polygon *p, in polygon_bounding_rect()
217 int polygon_contains_point(struct polygon *p, in polygon_contains_point()
223 void polygon_append_polygon(struct polygon *dst, in polygon_append_polygon()
224 struct polygon *src) in polygon_append_polygon()
234 VGboolean polygon_is_closed(struct polygon *p) in polygon_is_closed()
245 struct polygon *poly) in polygon_prepare_buffer()
260 void polygon_fill(struct polygon *poly, struct vg_context *ctx) in polygon_fill()
337 struct polygon *poly = (((struct polygon**)polys->data)[i]); in polygon_array_fill()