GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A polygon drawing algorithm. More...
#include <core/gp_types.h>
Go to the source code of this file.
Functions | |
void | gp_polygon (gp_pixmap *pixmap, gp_coord x_off, gp_coord y_off, unsigned int vertex_count, const gp_coord *xy, gp_pixel pixel) |
Draws a polygon outline. | |
void | gp_polygon_th (gp_pixmap *pixmap, gp_coord x_off, gp_coord y_off, unsigned int vertex_count, const gp_coord *xy, gp_size r, gp_pixel pixel) |
Draws a thick polygon outline. | |
void | gp_fill_polygon (gp_pixmap *pixmap, gp_coord x_off, gp_coord y_off, unsigned int vertex_count, const gp_coord *xy, gp_pixel pixel) |
Fills a polygon. | |
A polygon drawing algorithm.
Definition in file gp_polygon.h.