File: plotter.h

package info (click to toggle)
xgraph 12.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 820 kB
  • ctags: 996
  • sloc: ansic: 7,991; sh: 2,792; makefile: 88
file content (60 lines) | stat: -rwxr-xr-x 1,493 bytes parent folder | download | duplicates (5)
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
#ifndef _h_plotter
#define _h_plotter
     /*
      * HP plotter definition - these are dependent on the SPECIFIC MODEL of HP
      * plotter used, and should always be modified when going to a new
      * plotter.
      * 
      * all dimensions are in plotter units.
      * 
      * MINX and MINY are the smallest x and y values that are inside the soft
      * clip limits of the plotter MAXX and MAXY are the largest x and y values
      * that are inside the soft clip limits of the plotter MINUS MINX and
      * MINY, so they give the dimension of the soft clip area.
      * 
      * PLOTTERTYPE is a character string which identifies the plotter that should
      * be used.  control information will be read for
      * ~cad/lib/technology/$TECHNOLOGY/$PLOTTERTYPE.map and output will go to
      * /usr/ucb/lpr -Pplt$PLOTTERTYPE
      * 
      */
#define PLOTTERTYPE "7550"
#define P1X 80
#define P1Y 320
#define P2X 10080
#define P2Y 7520
#define MAXX 10000
#define MAXY 7200

#define PLOTTERNAME "paper"

#define PENGRID 1
#define PENAXIS 2
#define TEXTCOLOR 1
#define PEN1 3
#define PEN2 4
#define PEN3 5
#define PEN4 6
#define PEN5 7
#define PEN6 8
#define PEN7 2
#define PEN8 1

#define LINE1 2
#define LINE2 4
#define LINE3 5
#define LINE4 6
#define LINE5 2
#define LINE6 4
#define LINE7 5
#define LINE8 6

#define MARK1 "L"
#define MARK2 "K"
#define MARK3 "M"
#define MARK4 "O"
#define MARK5 "G"
#define MARK6 "F"
#define MARK7 "E"
#define MARK8 "A"
#endif /* _h_plotter */