Actual source code: petscdraw.h

petsc-3.13.6 2020-09-29
Report Typos and Errors
  1: !
  2: !
  3: !  Include file for Fortran use of the PetscDraw package in PETSc
  4: !
  5: #include "petsc/finclude/petscdraw.h"
  6: !
  7: !  Flags for draw
  8: !
  9:       PetscEnum, parameter :: PETSC_DRAW_BASIC_COLORS = 33
 10:       PetscEnum, parameter :: PETSC_DRAW_ROTATE = -1
 11: !
 12: !  Colors for drawing
 13: !
 14:       PetscEnum, parameter :: PETSC_DRAW_WHITE = 0
 15:       PetscEnum, parameter :: PETSC_DRAW_BLACK = 1
 16:       PetscEnum, parameter :: PETSC_DRAW_RED = 2
 17:       PetscEnum, parameter :: PETSC_DRAW_GREEN = 3
 18:       PetscEnum, parameter :: PETSC_DRAW_CYAN = 4
 19:       PetscEnum, parameter :: PETSC_DRAW_BLUE = 5
 20:       PetscEnum, parameter :: PETSC_DRAW_MAGENTA = 6
 21:       PetscEnum, parameter :: PETSC_DRAW_AQUAMARINE = 7
 22:       PetscEnum, parameter :: PETSC_DRAW_FORESTGREEN = 8
 23:       PetscEnum, parameter :: PETSC_DRAW_ORANGE = 9
 24:       PetscEnum, parameter :: PETSC_DRAW_VIOLET = 10
 25:       PetscEnum, parameter :: PETSC_DRAW_BROWN = 11
 26:       PetscEnum, parameter :: PETSC_DRAW_PINK = 12
 27:       PetscEnum, parameter :: PETSC_DRAW_CORAL = 13
 28:       PetscEnum, parameter :: PETSC_DRAW_GRAY = 14
 29:       PetscEnum, parameter :: PETSC_DRAW_YELLOW = 15
 30:       PetscEnum, parameter :: PETSC_DRAW_GOLD = 16
 31:       PetscEnum, parameter :: PETSC_DRAW_LIGHTPINK = 17
 32:       PetscEnum, parameter :: PETSC_DRAW_MEDIUMTURQUOISE = 18
 33:       PetscEnum, parameter :: PETSC_DRAW_KHAKI = 19
 34:       PetscEnum, parameter :: PETSC_DRAW_DIMGRAY = 20
 35:       PetscEnum, parameter :: PETSC_DRAW_YELLOWGREEN = 21
 36:       PetscEnum, parameter :: PETSC_DRAW_SKYBLUE = 22
 37:       PetscEnum, parameter :: PETSC_DRAW_DARKGREEN = 23
 38:       PetscEnum, parameter :: PETSC_DRAW_NAVYBLUE = 24
 39:       PetscEnum, parameter :: PETSC_DRAW_SANDYBROWN = 25
 40:       PetscEnum, parameter :: PETSC_DRAW_CADETBLUE = 26
 41:       PetscEnum, parameter :: PETSC_DRAW_POWDERBLUE = 27
 42:       PetscEnum, parameter :: PETSC_DRAW_DEEPPINK = 28
 43:       PetscEnum, parameter :: PETSC_DRAW_THISTLE = 29
 44:       PetscEnum, parameter :: PETSC_DRAW_LIMEGREEN = 30
 45:       PetscEnum, parameter :: PETSC_DRAW_LAVENDERBLUSH =31
 46:       PetscEnum, parameter :: PETSC_DRAW_PLUM = 32

 48:       PetscEnum, parameter :: PETSC_BUTTON_NONE = 0
 49:       PetscEnum, parameter :: PETSC_BUTTON_LEFT = 1
 50:       PetscEnum, parameter :: PETSC_BUTTON_CENTER = 2
 51:       PetscEnum, parameter :: PETSC_BUTTON_RIGHT = 3
 52:       PetscEnum, parameter :: PETSC_BUTTON_WHEEL_UP = 4
 53:       PetscEnum, parameter :: PETSC_BUTTON_WHEEL_DOWN = 5
 54:       PetscEnum, parameter :: PETSC_BUTTON_LEFT_SHIFT = 6
 55:       PetscEnum, parameter :: PETSC_BUTTON_CENTER_SHIFT = 7
 56:       PetscEnum, parameter :: PETSC_BUTTON_RIGHT_SHIFT = 8
 57: !
 58: !  End of Fortran include file for the PetscDraw package in PETSc