third_party/webports/src/src/ports/agg-demo/drawing.cc
void DrawingDemo::Run() {
  for (int i = 0; ; i++) {
    if (!PumpEvents())
      break;
    PSContext2DGetBuffer(ps_context_);
    Update();
    PSContext2DSwapBuffer(ps_context_);
    printf("Frame: %04d\b\b\b\b\b\b\b\b\b\b\b", i);
    fflush(stdout);
  }

  printf("\nDone\n");
}
// Runs the demo by looping forever and rendering frames.
Runs the demo by looping forever and rendering frames.
Runs the demo by looping forever and rendering frames .
void DrawingDemo::Run() {
  for (int i = 0; ; i++) {
    if (!PumpEvents())
      break;
    PSContext2DGetBuffer(ps_context_);
    Update();
    PSContext2DSwapBuffer(ps_context_);
    printf("Frame: %04d\b\b\b\b\b\b\b\b\b\b\b", i);
    fflush(stdout);
  }
  printf("\nDone\n");
}
void DrawingDemo :: Run ( ) { for ( int i = 0 ; ; i ++ ) { if ( ! PumpEvents ( ) ) break ; PSContext2DGetBuffer ( ps_context_ ) ; Update ( ) ; PSContext2DSwapBuffer ( ps_context_ ) ; printf ( " \b \b \b \b \b \b \b \b \b \b \b " , i ) ; fflush ( stdout ) ; } printf ( " \n \n " ) ; }
Runs the demo by looping forever and rendering frames.
Runs the demo by looping forever and rendering frames .