Draw a list of spans
#include <gf/gf.h> int gf_draw_spanlist ( gf_context_t context, unsigned nspans, int x1[], int x2[], int y[] );
gf
This function draws a list of spans in the current foreground color. A span is a horizontal run of pixels with fixed height of one pixel.
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
gf_context_set_linedash(), gf_context_set_linejoin(), gf_draw_poly_fill(), gf_draw_span(), gf_point_t
“Drawing lines and polygons” in the Basic Drawing chapter