gf_context_get_surface()

Provide the surface that is currently targeted by the context

Synopsis:

#include <gf/gf.h>

int gf_context_get_surface( gf_context_t context, gf_surface_t * psurface );

Arguments:

context
The handle of the context.
psurface
A pointer to the handle of the surface to populate.

Library:

gf

Description:

Returns the surface that is currently targeted.


Note: The currently targeted surface may be NULL.

Returns:

GF_ERR_OK
Success.
GF_ERR_MEM
Indicates that psurface is null.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_context_set_surface()