Actual source code: vdraw.h

petsc-3.12.5 2020-03-29
Report Typos and Errors
  1: /*
  2:      Data structure for the PetscDraw version of the viewer
  3: */


  8:  #include <petscdraw.h>
  9:  #include <petsc/private/viewerimpl.h>
 10: typedef struct {
 11:   PetscInt      draw_max;
 12:   PetscInt      draw_base;
 13:   PetscInt      nbounds;                    /* number of bounds supplied with PetscViewerDrawSetBounds() */
 14:   PetscReal     *bounds;                    /* lower and upper bounds for each component to be used in plotting */
 15:   PetscDraw     *draw;
 16:   PetscDrawLG   *drawlg;
 17:   PetscDrawAxis *drawaxis;
 18:   int           w,h;                        /* These are saved in case additional windows are opened */
 19:   char          *display;
 20:   char          *title;
 21:   PetscBool     singleton_made;
 22:   PetscBool     hold;                       /* Keep previous image when adding new */
 23:   PetscReal     pause;
 24:   PetscDrawType drawtype;
 25: } PetscViewer_Draw;

 27: #endif