# PetscDrawOpenNull
Opens a null drawing context. All draw commands to it are ignored. 
## Synopsis
```
#include "petscdraw.h" 
PetscErrorCode PetscDrawOpenNull(MPI_Comm comm, PetscDraw *win)
```

## Input Parameter

- ***comm -*** MPI communicator



## Output Parameter

- ***draw -*** the drawing context





## See Also
 `PetscDraw`, `PetscDrawIsNull()`, `PETSC_DRAW_NULL`, `PetscDrawOpenX()`, `PetscDrawIsNull()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/null/drawnull.c.html#PetscDrawOpenNull">src/sys/classes/draw/impls/null/drawnull.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/impls/null/drawnull.c)


[Index of all Draw routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
