1: /*$Id: dsclear.c,v 1.28 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: PetscDrawSynchronizedClear - Clears graphical output. All processors must call this routine. 11: Does not return until the draw in context is clear. 13: Collective on PetscDraw 15: Input Parameters: 16: . draw - the drawing context 18: Level: intermediate 20: Concepts: clear^window 22: @*/ 23: int PetscDrawSynchronizedClear(PetscDraw draw) 24: { 28: if (draw->ops->synchronizedclear) { 29: (*draw->ops->synchronizedclear)(draw); 30: } 31: return(0); 32: }