blob: 88aa921dd2dc0648ed0c41b88731d74b35bb3318 (
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
\makeatletter
\pgfdeclareshape{stop}{%
\savedanchor{\upperrightcorner}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=0.5\pgf@xa
\pgf@y=0.5\pgf@ya
}
\savedanchor{\lowerleftcorner}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=-0.5\pgf@ya
}
\anchor{center}{\pgfpointorigin}
% \anchor{center}{\centerpoint}
\anchor{north east}{%
\upperrightcorner%
}
\anchor{north}{%
\upperrightcorner%
\pgf@x=0pt
}
\anchor{south east}{%
\upperrightcorner%
\pgf@y=-\pgf@y
}
\anchor{south west}{%
\lowerleftcorner%
}
\anchor{south}{%
\lowerleftcorner%
\pgf@x=0pt
}
\anchor{north west}{%
\upperrightcorner%
\pgf@x=-\pgf@x
}
\anchor{west}{%
\lowerleftcorner%
\pgf@y=0pt
}
\anchor{east}{%
\upperrightcorner%
\pgf@y=0pt
}
\savedanchor{\one}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 0.5\pgf@ya
}
\anchor{one}{\one}
\savedanchor{\two}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 1.5\pgf@ya
}
\anchor{two}{\two}
\savedanchor{\three}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 2.5\pgf@ya
}
\anchor{three}{\three}
\savedanchor{\four}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 3.5\pgf@ya
}
\anchor{four}{\four}
\savedanchor{\five}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 4.5\pgf@ya
}
\anchor{five}{\five}
\savedanchor{\six}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 5.5\pgf@ya
}
\anchor{six}{\six}
\savedanchor{\seven}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 6.5\pgf@ya
}
\anchor{seven}{\seven}
\savedanchor{\eight}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 7.5\pgf@ya
}
\anchor{eight}{\eight}
\savedanchor{\nine}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 8.5\pgf@ya
}
\anchor{nine}{\nine}
\savedanchor{\ten}{
\setlength{\pgf@xa}{\pgfshapeminwidth}
\setlength{\pgf@ya}{\pgfshapeminheight}
\pgf@x=-0.5\pgf@xa
\pgf@y=0pt
\advance\pgf@x by 9.5\pgf@ya
}
\anchor{ten}{\ten}
\backgroundpath{
\pgfpathrectanglecorners{\lowerleftcorner}{\upperrightcorner}
}
}
\makeatother
|