This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Set current graphics context
PhGC_t *PgSetGC( PhGC_t *GC ); PhGC_t *PgSetGCCx( void *dc, PhGC_t *GC );
ph
These functions set the current graphics context to GC.
PgSetGC() works on the current draw context, while you can specify the draw context for PgSetGCCx().
A pointer to the previous graphics context.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgCreateGC(), PgDestroyGC(), PgGetGC*()