stg_polygon_t Struct Reference
[Polygons]
#include <stage.h>
Data Fields | |
void * | _data |
stg_size_t | bbox |
stg_color_t | color |
GArray * | points |
stg_bool_t | unfilled |
Detailed Description
define a polygon: a set of connected vertices drawn with a color. Can be drawn filled or unfilled.Field Documentation
void* stg_polygon_t::_data |
bounding box: width and height of the polygon
Referenced by indicator_copy_polygons(), and stg_polygons_from_rotrects().
render color of this polygon - TODO - implement color rendering
Referenced by indicator_copy_polygons().
GArray* stg_polygon_t::points |
pointer to an array of points
Referenced by gc_draw_polygons(), gui_model_polygons(), indicator_copy_polygons(), stg_matrix_polygons(), stg_model_test_collision(), stg_polygon_append_points(), stg_polygon_print(), stg_polygon_set_points(), and stg_polygons_normalize().
if TRUE, this polygon is NOT drawn filled
Referenced by gui_model_polygons(), and indicator_copy_polygons().
The documentation for this struct was generated from the following file:
Generated on Wed Jun 3 23:12:29 2009 for Stage by
