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

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().

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  doxygen 1.5.9