Actual source code: dflush.c

  1: /*$Id: dflush.c,v 1.27 2001/03/23 23:20:08 balay Exp $*/
  2: /*
  3:        Provides the calling sequences for all the basic PetscDraw routines.
  4: */
 5:  #include src/sys/src/draw/drawimpl.h

  7: #undef __FUNCT__  
  9: /*@
 10:    PetscDrawFlush - Flushs graphical output.

 12:    Not collective (Use PetscDrawSynchronizedFlush() for collective)

 14:    Input Parameters:
 15: .  draw - the drawing context

 17:    Level: beginner

 19:    Concepts: flushing^graphics

 21: .seealso: PetscDrawSynchronizedFlush()
 22: @*/
 23: int PetscDrawFlush(PetscDraw draw)
 24: {
 28:   if (draw->ops->flush) {
 29:     (*draw->ops->flush)(draw);
 30:   }
 31:   return(0);
 32: }