summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/darrows.m4
blob: 07c5bfaf228a47fe13fd1050d8f16abfc543adf1 (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
.PS
# darrows.m4
darrow_init

[
line thick 0.4 outlined "lightgray" down_ 6
line thick 0.4 outlined "lightgray" down_ 6 from last line.start+(1,0)
move to 1st line.start
right_

linethick = 5
define(`dlthick',0.25)
linewid = 1

                       { darrow() }
move down 0.4; right_; { darrow(,t) }
move down 0.4; right_; { darrow(,,t) }
move down 0.4; right_; { darrow(,t,t) }
move down 0.4; right_; { darrow(,,,,,,|-) }
move down 0.4; right_; { darrow(,,,,,,!-) }
move down 0.4; right_; { darrow(,,,,,,<-) }
move down 0.4; right_; { darrow(,t,,,,,<-) }
move down 0.4; right_; { darrow(,,t,,,,<-) }
move down 0.4; right_; { darrow(,t,t,,,,<-) }
move down 0.4; right_; { darrow(,,,,,,<-|) }
move down 0.4; right_; { darrow(,,,,,,<-!) }
move down 0.4; right_; { darrow(,,,,,,<->) }
move down 0.4; right_; { darrow(,t,,,,,<->) }
move down 0.4; right_; { darrow(,,t,,,,<->) }
move down 0.4; right_; { darrow(,t,t,,,,<->) }
]

[
line thick 0.4 outlined "lightgray" down_ 6
line thick 0.4 outlined "lightgray" down_ 6 from last line.start+(1,0)
move to 1st line.start
right_

linethick = 5
define(`dlthick',0.25)
linewid = 1

                       { Darrow() }
move down 0.4; right_; { Darrow(,S) }
move down 0.4; right_; { Darrow(,E) }
move down 0.4; right_; { Darrow(,S;E) }
move down 0.4; right_; { Darrow(,ends=|-) }
move down 0.4; right_; { Darrow(,ends=!-) }
move down 0.4; right_; { Darrow(,ends=<-) }
move down 0.4; right_; { Darrow(,S;ends=<-) }
move down 0.4; right_; { Darrow(,E;ends=<-) }
move down 0.4; right_; { Darrow(,S;E;ends=<-) }
move down 0.4; right_; { Darrow(,ends=<-|) }
move down 0.4; right_; { Darrow(,ends=<-!) }
move down 0.4; right_; { Darrow(,ends=<->) }
move down 0.4; right_; { Darrow(,S;ends=<->) }
move down 0.4; right_; { Darrow(,E;ends=<->) }
move down 0.4; right_; { Darrow(,S;E;ends=<->) }
] with .nw at last [].ne+(0.5,0)

.PE