|
|
1.1 root 1: Extremely brief summary of format of .def files:
2:
3: | anything... <newline>
4:
5: comment. everything through next newline ignored.
6:
7: d name
8:
9: define, "name" is name of object which most programs ignore, taking
10: the name of the object from the name of the file instead.
11:
12: e
13:
14: end of file.
15:
16: m x y
17:
18: move current position to x,y.
19:
20: l x y
21:
22: line from current point to specified coordinate. Updates
23: current position.
24:
25: A x y arc
26:
27: arc from current point to specified coordinate. "arc" specifies
28: how big arc should be -- 2048 units in a full circle. For example,
29: if arc=1024, a semicircle is drawn starting from the current
30: coord and proceeding clockwise to specified coordinate. Current
31: position is updated.
32:
33: c orient label
34:
35: character label. orient is one of {c, t, b} x {c, l, r} where
36: c=center, t=top, b=bottom, l=left, r=right. Orient specifies where
37: the current position lies with respect to label. Label is a
38: character string (no surrounding quotes!) with spaces replaced by
39: "~" chars.
40:
41:
42: i name scale orient
43:
44: instatiate subpicture. "name" is name of subpicture which should be
45: found in file name.def. scale is a pair of integers separated by
46: colon (eg, 2:1), all coords of subpicture are multiplied first number
47: and then divided by the second (so 2:1 will double the size of the
48: subpicture). orient specifies one of n, e, s, w, rn, re, rs, rw
49: where r indicates reversal about y axis before specified rotation.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.