gf_context_free()

Destroy a draw context

Synopsis:

#include <gf/gf.h>

void gf_context_free( gf_context_t context );

Arguments:

context
The graphics context to free.

Library:

gf

Description:

This function destroys a graphics rendering context created with gf_context_create() and releases all resources associated with it.


Note: This function will not release the surface that the context is currently targeting. You need to call gf_surface_free() to free the surface.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_context_create()