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: /*@ 8: PetscDrawFlush - Flushs graphical output. 10: Not collective (Use PetscDrawSynchronizedFlush() for collective) 12: Input Parameters: 13: . draw - the drawing context 15: Level: beginner 17: Concepts: flushing^graphics 19: .seealso: PetscDrawSynchronizedFlush() 20: @*/ 21: int PetscDrawFlush(PetscDraw draw) 22: { 26: if (draw->ops->flush) { 27: (*draw->ops->flush)(draw); 28: } 29: return(0); 30: }