Flushes and processes the draw stream
int PgSyncFlush( void ); int PgSyncFlushCx( void *dc );
ph
This function ensures that the draw stream has been flushed, and processed, before unblocking the calling client.
PgSyncFlush() works on the current draw context, while you can specify the drawing context dc for PgSyncFlushCx(). The variable dc represents a pointer to the draw context.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgDrawString*(), PgFlush*() PgSetFillColor*(), PgSetFillDither*(), PgSetFillTransPat*(), PgSetUnderline*()
“Drawing attributes” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide