Draw a filled polygon
#include <gf/gf.h> int gf_draw_poly_fill( gf_context_t context, const gf_point_t *pts, size_t npoints );
gf
This function draws a filled polygon using the given rendering context. The filled polygon is rendered using the context's current foreground color and the current fill rule. For more information about the default fill rule, and other supported fill rules, see gf_context_set_polyfill().
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
gf_context_set_polyfill(), gf_draw_polyline(), gf_draw_rect(), gf_point_t
“Drawing lines and polygons” in the Basic Drawing chapter