| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Draw a filled rectangle
#include <gf/gf.h>
int gf_draw_rect( gf_context_t context,
                  int x1,
                  int y1,
                  int x2,
                  int y2 );
gf
This function draws a filled rectangle using the given rendering context. The filled rectangle is rendered using the context's current foreground color.
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
gf_draw_bitmap(), gf_draw_blit1(), gf_draw_blit2(), gf_draw_blitscaled(), gf_draw_flush(), gf_draw_poly_fill(), gf_draw_polyline()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |