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: /*@
8: PetscDrawSynchronizedClear - Clears graphical output. All processors must call this routine.
9: Does not return until the draw in context is clear.
11: Collective on PetscDraw
13: Input Parameters:
14: . draw - the drawing context
16: Level: intermediate
18: Concepts: clear^window
20: @*/
21: int PetscDrawSynchronizedClear(PetscDraw draw)
22: {
26: if (draw->ops->synchronizedclear) {
27: (*draw->ops->synchronizedclear)(draw);
28: }
29: return(0);
30: }