Actual source code: petscdrawtypes.h

petsc-master 2019-05-18
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_NULL  "null"
 14: #define PETSC_DRAW_WIN32 "win32"
 15: #define PETSC_DRAW_TIKZ  "tikz"
 16: #define PETSC_DRAW_IMAGE "image"

 18: /*S
 19:      PetscDraw - Abstract PETSc object for graphics

 21:    Level: beginner

 23:   Concepts: graphics

 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:   Concepts: graphics, axis

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

 40: /*S
 41:      PetscDrawLG - Manages drawing x-y plots

 43:    Level: advanced

 45:   Concepts: graphics, axis

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

 51: /*S
 52:      PetscDrawSP - Manages drawing scatter plots

 54:    Level: advanced

 56:   Concepts: graphics, scatter plots

 58: .seealso:  PetscDrawSPCreate()
 59: S*/
 60: typedef struct _p_PetscDrawSP*   PetscDrawSP;

 62: /*S
 63:      PetscDrawHG - Manages drawing histograms

 65:    Level: advanced

 67:   Concepts: graphics, histograms

 69: .seealso:  PetscDrawHGCreate()
 70: S*/
 71: typedef struct _p_PetscDrawHG*   PetscDrawHG;

 73: /*S
 74:      PetscDrawBar - Manages drawing bar graphs

 76:    Level: advanced

 78:   Concepts: graphics, histograms

 80: .seealso:  PetscDrawBarCreate()
 81: S*/
 82: typedef struct _p_PetscDrawBar*   PetscDrawBar;

 84: #endif