| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Create and initialize a new draw context
#include <gf/gf.h> int gf_context_create( gf_context_t * pcontext );
gf
This function creates a graphics rendering context, or draw context. Draw contexts are used to target rendering surfaces, and preserve a state across multiple rendering calls.
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |