Actual source code: petscdrawtypes.h

petsc-3.7.5 2017-01-01
Report Typos and Errors
  1: #ifndef _PETSCDRAWTYPES_H
  2: #define _PETSCDRAWTYPES_H

  4: /*J
  5:     PetscDrawType - String with the name of a PetscDraw

  7:    Level: beginner

  9: .seealso: PetscDrawSetType(), PetscDraw, PetscViewer, PetscDrawCreate()
 10: J*/
 11: typedef const char* PetscDrawType;
 12: #define PETSC_DRAW_X          "x"
 13: #define PETSC_DRAW_GLUT       "glut"
 14: #define PETSC_DRAW_OPENGLES   "opengles"
 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

 23:    Level: beginner

 25:   Concepts: graphics

 27: .seealso:  PetscDrawCreate(), PetscDrawSetType(), PetscDrawType
 28: S*/
 29: typedef struct _p_PetscDraw* PetscDraw;

 31: /*S
 32:      PetscDrawAxis - Manages X-Y axis

 34:    Level: advanced

 36:   Concepts: graphics, axis

 38: .seealso:  PetscDrawAxisCreate(), PetscDrawAxisSetLimits(), PetscDrawAxisSetColors(), PetscDrawAxisSetLabels()
 39: S*/
 40: typedef struct _p_PetscDrawAxis* PetscDrawAxis;

 42: /*S
 43:      PetscDrawLG - Manages drawing x-y plots

 45:    Level: advanced

 47:   Concepts: graphics, axis

 49: .seealso:  PetscDrawAxisCreate(), PetscDrawLGCreate(), PetscDrawLGAddPoint()
 50: S*/
 51: typedef struct _p_PetscDrawLG*   PetscDrawLG;

 53: /*S
 54:      PetscDrawSP - Manages drawing scatter plots

 56:    Level: advanced

 58:   Concepts: graphics, scatter plots

 60: .seealso:  PetscDrawSPCreate()
 61: S*/
 62: typedef struct _p_PetscDrawSP*   PetscDrawSP;

 64: /*S
 65:      PetscDrawHG - Manages drawing histograms

 67:    Level: advanced

 69:   Concepts: graphics, histograms

 71: .seealso:  PetscDrawHGCreate()
 72: S*/
 73: typedef struct _p_PetscDrawHG*   PetscDrawHG;

 75: /*S
 76:      PetscDrawBar - Manages drawing bar graphs

 78:    Level: advanced

 80:   Concepts: graphics, histograms

 82: .seealso:  PetscDrawBarCreate()
 83: S*/
 84: typedef struct _p_PetscDrawBar*   PetscDrawBar;

 86: #endif