summaryrefslogtreecommitdiffstats
path: root/ast/GRF_PAR
blob: 0c1d9aa58ada29b608776125e1996df157d55d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
*+
*  Name:
*     GRF_PAR

*  Purpose:
*     Define the constants needed to implement Fortran GRF routines.

*  Language:
*     Fortran 77

*  Type of Module:
*     Include file.

*  Description:
*     This file contains definitions which are required by Fortran 77
*     programs which implement their own grf routines (routines for
*     drawing graphics primitive used by the AST Plot class).

*  Copyright:
*     Copyright (C) 1997-2006 Council for the Central Laboratory of the
*     Research Councils

*  Licence:
*     This program is free software: you can redistribute it and/or
*     modify it under the terms of the GNU Lesser General Public
*     License as published by the Free Software Foundation, either
*     version 3 of the License, or (at your option) any later
*     version.
*     
*     This program is distributed in the hope that it will be useful,
*     but WITHOUT ANY WARRANTY; without even the implied warranty of
*     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*     GNU Lesser General Public License for more details.
*     
*     You should have received a copy of the GNU Lesser General
*     License along with this program.  If not, see
*     <http://www.gnu.org/licenses/>.

*  Authors:
*     DSB: David S. Berry (Starlink)

*  History:
*     13-JUN-2001 (DSB):
*        Original version.
*-

*  Values identifying different graphics attributes.
      INTEGER GRF__STYLE
      PARAMETER ( GRF__STYLE  = 0 )

      INTEGER GRF__WIDTH
      PARAMETER ( GRF__WIDTH  = 1 )

      INTEGER GRF__SIZE
      PARAMETER ( GRF__SIZE   = 2 )

      INTEGER GRF__FONT
      PARAMETER ( GRF__FONT   = 3 )

      INTEGER GRF__COLOUR
      PARAMETER ( GRF__COLOUR = 4 )

*  Values identifying different graphics primatives.
      INTEGER GRF__TEXT
      PARAMETER ( GRF__TEXT = 0 )

      INTEGER GRF__LINE
      PARAMETER ( GRF__LINE = 1 )

      INTEGER GRF__MARK
      PARAMETER ( GRF__MARK = 2 )

*  The number of different graphics attributes.
      INTEGER GRF__NATTR
      PARAMETER ( GRF__NATTR = 5 )

*  Values identifying capabilities.
      INTEGER GRF__ESC
      PARAMETER ( GRF__ESC = 0 )

      INTEGER GRF__MJUST
      PARAMETER ( GRF__MJUST = 1 )

      INTEGER GRF__SCALES
      PARAMETER ( GRF__SCALES = 2 )

* Values identifying types of graphics escape sequence
      INTEGER GRF__ESPER
      PARAMETER ( GRF__ESPER = 1 )

      INTEGER GRF__ESSUP
      PARAMETER ( GRF__ESSUP = 2 )

      INTEGER GRF__ESSUB
      PARAMETER ( GRF__ESSUB = 3 )

      INTEGER GRF__ESGAP
      PARAMETER ( GRF__ESGAP = 4 )

      INTEGER GRF__ESBAC
      PARAMETER ( GRF__ESBAC = 5 )

      INTEGER GRF__ESSIZ
      PARAMETER ( GRF__ESSIZ = 6 )

      INTEGER GRF__ESWID
      PARAMETER ( GRF__ESWID = 7 )

      INTEGER GRF__ESFON
      PARAMETER ( GRF__ESFON = 8 )

      INTEGER GRF__ESCOL
      PARAMETER ( GRF__ESCOL = 9 )

      INTEGER GRF__ESSTY
      PARAMETER ( GRF__ESSTY = 10 )

      INTEGER GRF__ESPOP
      PARAMETER ( GRF__ESPOP = 11 )

      INTEGER GRF__ESPSH
      PARAMETER ( GRF__ESPSH = 12 )