|
|
1.1 root 1: .TH GRAW 10.5 UCDS
2: .SH NAME
3: graw \- graw file format
4: .SH DESCRIPTION
5: .B Graw
6: files are very simple. There is one primitive per line, each primitive indicated
7: by a single character identifier. All strings are enclosed in quotes. Definition
8: need not preceed use, though in practice graw outputs
9: .I ref
10: (aka include) primitives first and master definitions are seldom found outside libraries.
11: .PP
12: .B Graw
13: file interpreters should look up
14: .I ref
15: files according to some search path.
16: .PP
17: Syntax:
18: .PP
19: body: prim | body prim
20: .br
21: prim: line | box | string | dots | macro | inst | ref | master
22: .br
23: line: \fBl\fR point point
24: .br
25: box: \fBb\fR rect
26: .br
27: string: \fBs\fR chars disp point
28: .br
29: dots: \fBd\fR rect
30: .br
31: macro: \fBz\fR rect
32: .br
33: inst: \fBi\fR chars point
34: .br
35: ref: \fBr\fR filename
36: .br
37: master: mstart body mend
38: .br
39: mstart: \fBm\fR chars
40: .br
41: mend: \fBe\fR
42: .br
43: rect: point point
44: .br
45: point: INT INT
46: .br
47: disp: INT
48: .br
49: chars: \fB"\fR STRING \fB"\fR
50: .PP
51: .B Graw
52: .I string
53: displacements are specified by five bit codes defined below:
54: .RS
55: .ft CW
56: /* string placement displacements */
57: .br
58: #define HALFX 1
59: .br
60: #define FULLX 2
61: .br
62: #define HALFY 4
63: .br
64: #define FULLY 8
65: .br
66: #define INVIS 16
67: .ft R
68: .RE
69: .PP
70: Invisible
71: .I string\fRs
72: are typically defined for masters with connection points.
73: Though the text is usually not displayed or printed, the
74: remaining four bits should nonetheless specify a proper
75: displacement for the sake of back-annotation.
76: .SH FILES
77: /n/ross/lib/graw/gates.g the standard gate file
78: .SH SEE ALSO
79: graw(10)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.