Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetgc.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetgc.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetgc.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetgc.html on line 8

PgGetGC(), PgGetGCCx()

Get current graphics context

Synopsis:

PhGC_t *PgGetGC( void );

PhGC_t *PgGetGCCx(void *dc);

Arguments:

dc
PgGetGCCx() only. A pointer to a draw context.

Library:

ph

Description:

These functions get the current graphics context. PgGetGC() works on the current draw context, while you can specify the draw context for PgGetGCCx().

Returns:

A pointer to the current graphics context.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgCreateGC(), PgDestroyGC(), PgSetGC*()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetgc.html on line 101

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetgc.html on line 101