Actual source code: petscdrawtypes.h

  1: #ifndef PETSCDRAWTYPES_H
  2: #define PETSCDRAWTYPES_H

  4: /* SUBMANSEC = Draw */

  6: /*J
  7:     PetscDrawType - String with the name of a `PetscDraw`

  9:    Level: beginner

 11: .seealso: `PetscDrawSetType()`, `PetscDraw`, `PetscViewer`, `PetscDrawCreate()`, `PetscDrawRegister()`
 12: J*/
 13: typedef const char *PetscDrawType;
 14: #define PETSC_DRAW_X     "x"
 15: #define PETSC_DRAW_NULL  "null"
 16: #define PETSC_DRAW_WIN32 "win32"
 17: #define PETSC_DRAW_TIKZ  "tikz"
 18: #define PETSC_DRAW_IMAGE "image"

 20: /*S
 21:      PetscDraw - Abstract PETSc object for graphics, often represents a window on the screen

 23:    Level: beginner

 25: .seealso: `PetscDrawCreate()`, `PetscDrawSetType()`, `PetscDrawType`
 26: S*/
 27: typedef struct _p_PetscDraw *PetscDraw;

 29: /*S
 30:      PetscDrawAxis - Manages X-Y axis

 32:    Level: advanced

 34: .seealso: `PetscDrawAxisCreate()`, `PetscDrawAxisSetLimits()`, `PetscDrawAxisSetColors()`, `PetscDrawAxisSetLabels()`
 35: S*/
 36: typedef struct _p_PetscDrawAxis *PetscDrawAxis;

 38: /*S
 39:      PetscDrawLG - Manages drawing x-y plots

 41:    Level: advanced

 43: .seealso: `PetscDrawAxisCreate()`, `PetscDrawLGCreate()`, `PetscDrawLGAddPoint()`
 44: S*/
 45: typedef struct _p_PetscDrawLG *PetscDrawLG;

 47: /*S
 48:      PetscDrawSP - Manages drawing scatter plots

 50:    Level: advanced

 52: .seealso: `PetscDrawSPCreate()`
 53: S*/
 54: typedef struct _p_PetscDrawSP *PetscDrawSP;

 56: /*S
 57:      PetscDrawHG - Manages drawing histograms

 59:    Level: advanced

 61: .seealso: `PetscDrawHGCreate()`
 62: S*/
 63: typedef struct _p_PetscDrawHG *PetscDrawHG;

 65: /*S
 66:      PetscDrawBar - Manages drawing bar graphs

 68:    Level: advanced

 70: .seealso: `PetscDrawBarCreate()`
 71: S*/
 72: typedef struct _p_PetscDrawBar *PetscDrawBar;

 74: #endif