| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Draw a span
#include <gf/gf.h>
int gf_draw_span (
        gf_context_t    context,
        int             x1,
        int             x2,
        int             y );
gf
This function draws a span in the context's current foreground color. A span is a horizontal run of pixels with a 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_spanlist(), gf_point_t
“Drawing lines and polygons” in the Basic Drawing chapter
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |