1: /* 2: Provides the calling sequences for all the basic PetscDraw routines. 3: */ 4: #include src/sys/src/draw/drawimpl.h 8: /*@ 9: PetscDrawSynchronizedClear - Clears graphical output. All processors must call this routine. 10: Does not return until the draw in context is clear. 12: Collective on PetscDraw 14: Input Parameters: 15: . draw - the drawing context 17: Level: intermediate 19: Concepts: clear^window 21: @*/ 22: PetscErrorCode PetscDrawSynchronizedClear(PetscDraw draw) 23: { 27: if (draw->ops->synchronizedclear) { 28: (*draw->ops->synchronizedclear)(draw); 29: } 30: return(0); 31: }