:orphan: # PetscDrawCollectiveEnd Ends a set of draw operations begun with `PetscDrawCollectiveBegin()` Collective ## Synopsis ``` #include PetscErrorCode PetscDrawCollectiveEnd(PetscDraw draw) ``` Collective ## Input Parameter - ***draw -*** the draw object ## Notes This is a macro that handles its own error checking, it does not return an error code. X windows draw operations that are enclosed by these routines handle correctly resizing or closing of the window without crashing the program. ## Developer Note This only applies to X windows and so should have a more specific name such as `PetscDrawXCollectiveEnd()` ## See Also `PetscDrawCollectiveBegin()` ## Level advanced ## Location include/petscdraw.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdraw.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)