stg_polygon_t Struct Reference
[Polygons]

#include <stage.h>


Detailed Description

define a polygon: a set of connected vertices drawn with a color. Can be drawn filled or unfilled.


Data Fields

void * _data
stg_size_t bbox
stg_color_t color
GArray * points
stg_bool_t unfilled

Field Documentation

void* stg_polygon_t::_data
 

stg_size_t stg_polygon_t::bbox
 

bounding box: width and height of the polygon

stg_color_t stg_polygon_t::color
 

render color of this polygon - TODO - implement color rendering

GArray* stg_polygon_t::points
 

pointer to an array of points

stg_bool_t stg_polygon_t::unfilled
 

if TRUE, this polygon is NOT drawn filled


The documentation for this struct was generated from the following file:
Generated on Thu Dec 13 13:55:22 2007 for Stage by  doxygen 1.4.6