Reset the current draw buffer
void PgClearDrawBuffer( void );
This function resets the current draw buffer without flushing.
/* * Draw the following group of 3 lines */ PgDrawILine( 100, 100, 200, 300 ); PgDrawILine( 200, 300, 700, 700 ); PgDrawILine( 700, 700, 0, 0 ); PgFlush(); /* * Don't draw the following group of 3 lines */ PgDrawILine( 50, 100, 50, 300 ); PgDrawILine( 300, 20, 30, 700 ); PgDrawILine( 500, 700, 0, 100 ); PgClearDrawBuffer(); PgFlush();
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgFlush(), PgSetDrawBufferSize()