2: /* 3: Provides the calling sequences for all the basic PetscDraw routines. 4: */ 5: #include <petsc/private/drawimpl.h> /*I "petscdraw.h" I*/ 9: /*@ 10: PetscDrawPause - Waits n seconds or until user input, depending on input 11: to PetscDrawSetPause(). 13: Collective operation on PetscDraw object. 15: Input Parameter: 16: . draw - the drawing context 18: Level: beginner 20: Concepts: waiting^for user input 21: Concepts: drawing^waiting 22: Concepts: graphics^waiting 24: .seealso: PetscDrawSetPause(), PetscDrawGetPause() 25: @*/ 26: PetscErrorCode PetscDrawPause(PetscDraw draw) 27: { 32: if (draw->ops->pause) { 33: (*draw->ops->pause)(draw); 34: } 35: return(0); 36: }