Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PgSyncFlush(), PgSyncFlushCx()
Flushes and processes the draw stream
Synopsis:
int PgSyncFlush( void ); int PgSyncFlushCx( void *dc );
Library:
ph
Description:
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.
Returns:
- 0
- Success.
- -1
- Error.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PgDrawString*(), PgFlush*() PgSetFillColor*(), PgSetFillDither*(), PgSetFillTransPat*(), PgSetUnderline*()
"Drawing attributes" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)