# PetscDrawViewPortsDestroy

frees a PetscDrawViewPorts object

### Synopsis

    #include "petscdraw.h"
    int PetscDrawViewPortsDestroy(PetscDrawViewPorts *ports)

Collective on PetscDraw inside PetscDrawViewPorts

### Input Parameter

ports -the PetscDrawViewPorts object

### See Also

PetscDrawSplitViewPort(), PetscDrawSetViewPort(), PetscDrawViewPortsSet(), PetscDrawViewPortsCreate()

Level:advanced
Location: src/sys/src/draw/interface/dviewp.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages