| 1 |
% Copyright 2018 by Till Tantau |
| 2 |
% |
| 3 |
% This file may be distributed and/or modified |
| 4 |
% |
| 5 |
% 1. under the LaTeX Project Public License and/or |
| 6 |
% 2. under the GNU Public License. |
| 7 |
% |
| 8 |
% See the file doc/generic/pgf/licenses/LICENSE for more details. |
| 9 |
|
| 10 |
\ProvidesFileRCS{pgflibraryarrows.code.tex} |
| 11 |
|
| 12 |
|
| 13 |
% A square bracket shaped arrow |
| 14 |
|
| 15 |
\pgfarrowsdeclare{square bracket}{square bracket} |
| 16 |
{ |
| 17 |
\pgfutil@tempdima=1pt% |
| 18 |
\advance\pgfutil@tempdima by1.25\pgflinewidth% |
| 19 |
\pgfarrowsleftextend{+-\pgfutil@tempdima} |
| 20 |
\pgfarrowsrightextend{+.5\pgflinewidth} |
| 21 |
} |
| 22 |
{ |
| 23 |
\pgfutil@tempdima=2pt% |
| 24 |
\advance\pgfutil@tempdima by1.5\pgflinewidth% |
| 25 |
\pgfutil@tempdimb=\pgfutil@tempdima% |
| 26 |
\advance\pgfutil@tempdimb by\pgflinewidth% |
| 27 |
\pgfsetdash{}{+0pt} |
| 28 |
\pgfsetmiterjoin |
| 29 |
\pgfsetbuttcap |
| 30 |
\pgfpathmoveto{\pgfqpoint{-.5\pgfutil@tempdimb}{-1\pgfutil@tempdima}} |
| 31 |
\pgfpathlineto{\pgfqpoint{0pt}{-1\pgfutil@tempdima}} |
| 32 |
\pgfpathlineto{\pgfqpoint{0pt}{\pgfutil@tempdima}} |
| 33 |
\pgfpathlineto{\pgfqpoint{-.5\pgfutil@tempdimb}{\pgfutil@tempdima}} |
| 34 |
\pgfusepathqstroke |
| 35 |
}% |
| 36 |
\pgfdeclarearrow{name=[-], means=square bracket}% |
| 37 |
|
| 38 |
\pgfarrowsdeclarereversed{]}{[}{[}{]}% |
| 39 |
|
| 40 |
|
| 41 |
% A round bracket shaped arrow |
| 42 |
|
| 43 |
\pgfarrowsdeclare{(}{)} |
| 44 |
{ |
| 45 |
\pgfutil@tempdima=2pt% |
| 46 |
\advance\pgfutil@tempdima by1.5\pgflinewidth% |
| 47 |
\pgfutil@tempdimb=0.0625\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 48 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 49 |
\pgfutil@tempdimb=0.5\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 50 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 51 |
} |
| 52 |
{ |
| 53 |
\pgfutil@tempdima=2pt% |
| 54 |
\advance\pgfutil@tempdima by1.5\pgflinewidth% |
| 55 |
\pgfsetdash{}{+0pt} |
| 56 |
\pgfsetroundcap |
| 57 |
\pgfpathmoveto{\pgfqpoint{-.5\pgfutil@tempdima}{-1\pgfutil@tempdima}} |
| 58 |
\pgfpathcurveto |
| 59 |
{\pgfqpoint{.25\pgfutil@tempdima}{-.5\pgfutil@tempdima}} |
| 60 |
{\pgfqpoint{.25\pgfutil@tempdima}{.5\pgfutil@tempdima}} |
| 61 |
{\pgfqpoint{-.5\pgfutil@tempdima}{\pgfutil@tempdima}} |
| 62 |
\pgfusepathqstroke |
| 63 |
}% |
| 64 |
|
| 65 |
\pgfarrowsdeclarereversed{)}{(}{(}{)}% |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
% A pointed bracket shaped arrow |
| 71 |
|
| 72 |
\pgfarrowsdeclare{angle 90}{angle 90} |
| 73 |
{ |
| 74 |
\pgfutil@tempdima=0.3pt% |
| 75 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 76 |
\pgfutil@tempdimb=5.5\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 77 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 78 |
\pgfutil@tempdimb=.5\pgfutil@tempdima\advance\pgfutil@tempdimb by0.707\pgflinewidth% |
| 79 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 80 |
} |
| 81 |
{ |
| 82 |
\pgfutil@tempdima=0.3pt% |
| 83 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 84 |
\pgfsetdash{}{+0pt} |
| 85 |
\pgfsetroundcap |
| 86 |
\pgfsetmiterjoin |
| 87 |
\pgfpathmoveto{\pgfqpoint{-5.5\pgfutil@tempdima}{-6\pgfutil@tempdima}} |
| 88 |
\pgfpathlineto{\pgfqpoint{0.5\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 89 |
\pgfpathlineto{\pgfqpoint{-5.5\pgfutil@tempdima}{6\pgfutil@tempdima}} |
| 90 |
\pgfusepathqstroke |
| 91 |
}% |
| 92 |
|
| 93 |
\pgfarrowsdeclarereversed{angle 90 reversed}{angle 90 reversed}{angle 90}{angle 90}% |
| 94 |
|
| 95 |
|
| 96 |
\pgfarrowsdeclare{angle 60}{angle 60} |
| 97 |
{ |
| 98 |
\pgfutil@tempdima=0.3pt% |
| 99 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 100 |
\pgfutil@tempdimb=7.29\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 101 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 102 |
\pgfutil@tempdimb=.5\pgfutil@tempdima\advance\pgfutil@tempdimb by\pgflinewidth% |
| 103 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 104 |
} |
| 105 |
{ |
| 106 |
\pgfutil@tempdima=0.3pt% |
| 107 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 108 |
\pgfsetdash{}{+0pt} |
| 109 |
\pgfsetroundcap |
| 110 |
\pgfsetmiterjoin |
| 111 |
\pgfpathmoveto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{150}{9\pgfutil@tempdima}}} |
| 112 |
\pgfpathlineto{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}} |
| 113 |
\pgfpathlineto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{-150}{9\pgfutil@tempdima}}} |
| 114 |
\pgfusepathqstroke |
| 115 |
}% |
| 116 |
|
| 117 |
\pgfarrowsdeclarereversed{angle 60 reversed}{angle 60 reversed}{angle 60}{angle 60}% |
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
\pgfarrowsdeclare{angle 45}{angle 45} |
| 122 |
{ |
| 123 |
\pgfutil@tempdima=0.3pt% |
| 124 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 125 |
\pgfutil@tempdimb=8.705\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 126 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 127 |
\pgfutil@tempdimb=.5\pgfutil@tempdima\advance\pgfutil@tempdimb by1.28\pgflinewidth% |
| 128 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 129 |
} |
| 130 |
{ |
| 131 |
\pgfutil@tempdima=0.3pt% |
| 132 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 133 |
\pgfsetdash{}{+0pt} |
| 134 |
\pgfsetroundcap |
| 135 |
\pgfsetmiterjoin |
| 136 |
\pgfpathmoveto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{157}{10\pgfutil@tempdima}}} |
| 137 |
\pgfpathlineto{\pgfqpoint{0.5\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 138 |
\pgfpathlineto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{-157}{10\pgfutil@tempdima}}} |
| 139 |
\pgfusepathqstroke |
| 140 |
}% |
| 141 |
|
| 142 |
\pgfarrowsdeclarereversed{angle 45 reversed}{angle 45 reversed}{angle 45}{angle 45}% |
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
% A dot shaped arrow |
| 147 |
|
| 148 |
\pgfarrowsdeclare{*}{*} |
| 149 |
{ |
| 150 |
\pgfutil@tempdima=0.4pt% |
| 151 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 152 |
\pgfutil@tempdimb=7.5\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth |
| 153 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 154 |
\pgfutil@tempdimb=1.5\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth |
| 155 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 156 |
} |
| 157 |
{ |
| 158 |
\pgfutil@tempdima=0.4pt% |
| 159 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 160 |
\pgfsetdash{}{+0pt} |
| 161 |
\pgfpathcircle{\pgfqpoint{-3\pgfutil@tempdima}{0pt}}{+4.5\pgfutil@tempdima} |
| 162 |
\pgfusepathqfillstroke |
| 163 |
}% |
| 164 |
|
| 165 |
|
| 166 |
% An open dot shaped arrow |
| 167 |
|
| 168 |
\pgfarrowsdeclare{o}{o} |
| 169 |
{ |
| 170 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 171 |
\pgfutil@tempdima=0.4pt% |
| 172 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 173 |
\pgfutil@tempdimb=9\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth |
| 174 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 175 |
} |
| 176 |
{ |
| 177 |
\pgfutil@tempdima=0.4pt% |
| 178 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 179 |
\pgfsetdash{}{+0pt} |
| 180 |
\pgfpathcircle{\pgfqpoint{4.5\pgfutil@tempdima}{0bp}}{4.5\pgfutil@tempdima} |
| 181 |
\pgfusepathqstroke |
| 182 |
}% |
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
% A diamond shaped arrow |
| 187 |
|
| 188 |
\pgfarrowsdeclare{diamond}{diamond} |
| 189 |
{ |
| 190 |
\pgfutil@tempdima=0.4pt% |
| 191 |
\advance\pgfutil@tempdima by.275\pgflinewidth% |
| 192 |
\pgfutil@tempdimb=13\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth |
| 193 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 194 |
\pgfutil@tempdimb=1\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth |
| 195 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 196 |
} |
| 197 |
{ |
| 198 |
\pgfutil@tempdima=0.4pt% |
| 199 |
\advance\pgfutil@tempdima by.275\pgflinewidth% |
| 200 |
\pgfsetdash{}{+0pt} |
| 201 |
\pgfsetroundjoin |
| 202 |
\pgfpathmoveto{\pgfqpoint{1\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 203 |
\pgfpathlineto{\pgfqpoint{-6\pgfutil@tempdima}{4\pgfutil@tempdima}} |
| 204 |
\pgfpathlineto{\pgfqpoint{-13\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 205 |
\pgfpathlineto{\pgfqpoint{-6\pgfutil@tempdima}{-4\pgfutil@tempdima}} |
| 206 |
\pgfpathclose |
| 207 |
\pgfusepathqfillstroke |
| 208 |
}% |
| 209 |
|
| 210 |
\pgfarrowsdeclare{open diamond}{open diamond}%{{-.5bp}{14.5bp}} |
| 211 |
{ |
| 212 |
\pgfutil@tempdima=0.4pt% |
| 213 |
\advance\pgfutil@tempdima by.275\pgflinewidth% |
| 214 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 215 |
\pgfutil@tempdimb=14\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth |
| 216 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 217 |
} |
| 218 |
{ |
| 219 |
\pgfutil@tempdima=0.4pt% |
| 220 |
\advance\pgfutil@tempdima by.275\pgflinewidth% |
| 221 |
\pgfsetdash{}{+0pt} |
| 222 |
\pgfsetroundjoin |
| 223 |
\pgfpathmoveto{\pgfqpoint{14\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 224 |
\pgfpathlineto{\pgfqpoint{7\pgfutil@tempdima}{4\pgfutil@tempdima}} |
| 225 |
\pgfpathlineto{\pgfqpoint{0\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 226 |
\pgfpathlineto{\pgfqpoint{7\pgfutil@tempdima}{-4\pgfutil@tempdima}} |
| 227 |
\pgfpathclose |
| 228 |
\pgfusepathqstroke |
| 229 |
}% |
| 230 |
|
| 231 |
|
| 232 |
% A square shaped arrow |
| 233 |
\newdimen\arrowsize |
| 234 |
\pgfarrowsdeclare{square}{square} |
| 235 |
{ |
| 236 |
\arrowsize=0.4pt |
| 237 |
\advance\arrowsize by.275\pgflinewidth% |
| 238 |
\pgfarrowsleftextend{-7\arrowsize-.5\pgflinewidth} |
| 239 |
\advance\arrowsize by.5\pgflinewidth |
| 240 |
\pgfarrowsrightextend{+\arrowsize} |
| 241 |
} |
| 242 |
{ |
| 243 |
\arrowsize=0.4pt |
| 244 |
\advance\arrowsize by.275\pgflinewidth% |
| 245 |
\pgfsetdash{}{+0pt} |
| 246 |
\pgfsetroundjoin |
| 247 |
\pgfpathmoveto{\pgfqpoint{1\arrowsize}{4\arrowsize}} |
| 248 |
\pgfpathlineto{\pgfqpoint{-7\arrowsize}{4\arrowsize}} |
| 249 |
\pgfpathlineto{\pgfqpoint{-7\arrowsize}{-4\arrowsize}} |
| 250 |
\pgfpathlineto{\pgfqpoint{1\arrowsize}{-4\arrowsize}} |
| 251 |
\pgfpathclose |
| 252 |
\pgfusepathqfillstroke |
| 253 |
}% |
| 254 |
% A open square shaped arrow |
| 255 |
|
| 256 |
\pgfarrowsdeclare{open square}{open square}%{{-.5bp}{8.5bp}} |
| 257 |
{ |
| 258 |
\arrowsize=0.4pt |
| 259 |
\advance\arrowsize by.275\pgflinewidth% |
| 260 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 261 |
\advance\arrowsize by7\arrowsize |
| 262 |
\advance\arrowsize by.5\pgflinewidth |
| 263 |
\pgfarrowsrightextend{+\arrowsize} |
| 264 |
} |
| 265 |
{ |
| 266 |
\arrowsize=0.4pt |
| 267 |
\advance\arrowsize by.275\pgflinewidth% |
| 268 |
\pgfsetdash{}{+0pt} |
| 269 |
\pgfsetroundjoin |
| 270 |
\pgfpathmoveto{\pgfqpoint{8\arrowsize}{4\arrowsize}} |
| 271 |
\pgfpathlineto{\pgfqpoint{0\arrowsize}{4\arrowsize}} |
| 272 |
\pgfpathlineto{\pgfqpoint{0\arrowsize}{-4\arrowsize}} |
| 273 |
\pgfpathlineto{\pgfqpoint{8\arrowsize}{-4\arrowsize}} |
| 274 |
\pgfpathclose |
| 275 |
\pgfusepathqstroke |
| 276 |
}% |
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
% A triangle shaped arrow |
| 281 |
|
| 282 |
\pgfarrowsdeclare{triangle 90}{triangle 90} |
| 283 |
{ |
| 284 |
\pgfutil@tempdima=0.5pt% |
| 285 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 286 |
\pgfutil@tempdimb=5.5\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 287 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 288 |
\pgfutil@tempdimb=.5\pgfutil@tempdima\advance\pgfutil@tempdimb by0.707\pgflinewidth% |
| 289 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 290 |
} |
| 291 |
{ |
| 292 |
\pgfutil@tempdima=0.5pt% |
| 293 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 294 |
\pgfsetdash{}{+0pt} |
| 295 |
\pgfsetmiterjoin |
| 296 |
\pgfpathmoveto{\pgfqpoint{-5.5\pgfutil@tempdima}{-6\pgfutil@tempdima}} |
| 297 |
\pgfpathlineto{\pgfqpoint{0.5\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 298 |
\pgfpathlineto{\pgfqpoint{-5.5\pgfutil@tempdima}{6\pgfutil@tempdima}} |
| 299 |
\pgfpathclose |
| 300 |
\pgfusepathqfillstroke |
| 301 |
}% |
| 302 |
|
| 303 |
\pgfarrowsdeclarereversed{triangle 90 reversed}{triangle 90 reversed}{triangle 90}{triangle 90}% |
| 304 |
|
| 305 |
|
| 306 |
\pgfarrowsdeclare{triangle 60}{triangle 60} |
| 307 |
{ |
| 308 |
\pgfutil@tempdima=0.5pt% |
| 309 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 310 |
\pgfutil@tempdimb=7.29\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 311 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 312 |
\pgfutil@tempdimb=.5\pgfutil@tempdima\advance\pgfutil@tempdimb by\pgflinewidth% |
| 313 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 314 |
} |
| 315 |
{ |
| 316 |
\pgfutil@tempdima=0.5pt% |
| 317 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 318 |
\pgfsetdash{}{+0pt} |
| 319 |
\pgfsetmiterjoin |
| 320 |
\pgfpathmoveto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{150}{9\pgfutil@tempdima}}} |
| 321 |
\pgfpathlineto{\pgfqpoint{0.5\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 322 |
\pgfpathlineto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{-150}{9\pgfutil@tempdima}}} |
| 323 |
\pgfpathclose |
| 324 |
\pgfusepathqfillstroke |
| 325 |
}% |
| 326 |
|
| 327 |
\pgfarrowsdeclarereversed{triangle 60 reversed}{triangle 60 reversed}{triangle 60}{triangle 60}% |
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
\pgfarrowsdeclare{triangle 45}{triangle 45} |
| 333 |
{ |
| 334 |
\pgfutil@tempdima=0.5pt% |
| 335 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 336 |
\pgfutil@tempdimb=8.705\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 337 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 338 |
\pgfutil@tempdimb=.5\pgfutil@tempdima\advance\pgfutil@tempdimb by1.28\pgflinewidth% |
| 339 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 340 |
} |
| 341 |
{ |
| 342 |
\pgfutil@tempdima=0.5pt% |
| 343 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 344 |
\pgfsetdash{}{+0pt} |
| 345 |
\pgfsetmiterjoin |
| 346 |
\pgfpathmoveto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{157}{10\pgfutil@tempdima}}} |
| 347 |
\pgfpathlineto{\pgfqpoint{0.5\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 348 |
\pgfpathlineto{\pgfpointadd{\pgfqpoint{0.5\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{-157}{10\pgfutil@tempdima}}} |
| 349 |
\pgfpathclose |
| 350 |
\pgfusepathqfillstroke |
| 351 |
}% |
| 352 |
|
| 353 |
\pgfarrowsdeclarereversed{triangle 45 reversed}{triangle 45 reversed}{triangle 45}{triangle 45}% |
| 354 |
|
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
\pgfarrowsdeclare{open triangle 90}{open triangle 90} |
| 359 |
{ |
| 360 |
\pgfutil@tempdima=0.5pt% |
| 361 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 362 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 363 |
\pgfutil@tempdimb=6\pgfutil@tempdima\advance\pgfutil@tempdimb by0.707\pgflinewidth% |
| 364 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 365 |
} |
| 366 |
{ |
| 367 |
\pgfutil@tempdima=0.5pt% |
| 368 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 369 |
\pgfsetdash{}{+0pt} |
| 370 |
\pgfsetmiterjoin |
| 371 |
\pgfpathmoveto{\pgfqpoint{0\pgfutil@tempdima}{-6\pgfutil@tempdima}} |
| 372 |
\pgfpathlineto{\pgfqpoint{6\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 373 |
\pgfpathlineto{\pgfqpoint{0\pgfutil@tempdima}{6\pgfutil@tempdima}} |
| 374 |
\pgfpathclose |
| 375 |
\pgfusepathqstroke |
| 376 |
}% |
| 377 |
|
| 378 |
\pgfarrowsdeclare{open triangle 90 reversed}{open triangle 90 reversed}% |
| 379 |
{ |
| 380 |
\pgfutil@tempdima=0.5pt% |
| 381 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 382 |
\pgfarrowsleftextend{+-.707\pgflinewidth} |
| 383 |
\pgfutil@tempdimb=6\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth% |
| 384 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 385 |
} |
| 386 |
{ |
| 387 |
\pgfutil@tempdima=0.5pt% |
| 388 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 389 |
\pgfsetdash{}{+0pt} |
| 390 |
\pgfsetmiterjoin |
| 391 |
\pgfpathmoveto{\pgfqpoint{6\pgfutil@tempdima}{-6\pgfutil@tempdima}} |
| 392 |
\pgfpathlineto{\pgfqpoint{0\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 393 |
\pgfpathlineto{\pgfqpoint{6\pgfutil@tempdima}{6\pgfutil@tempdima}} |
| 394 |
\pgfpathclose |
| 395 |
\pgfusepathqstroke |
| 396 |
}% |
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
\pgfarrowsdeclare{open triangle 60}{open triangle 60} |
| 401 |
{ |
| 402 |
\pgfutil@tempdima=0.5pt% |
| 403 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 404 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 405 |
\pgfutil@tempdimb=7.794\pgfutil@tempdima\advance\pgfutil@tempdimb by\pgflinewidth% |
| 406 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 407 |
} |
| 408 |
{ |
| 409 |
\pgfutil@tempdima=0.5pt% |
| 410 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 411 |
\pgfsetdash{}{+0pt} |
| 412 |
\pgfsetmiterjoin |
| 413 |
\pgfpathmoveto{\pgfpointadd{\pgfqpoint{7.794\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{150}{9\pgfutil@tempdima}}} |
| 414 |
\pgfpathlineto{\pgfqpoint{7.794\pgfutil@tempdima}{0pt}} |
| 415 |
\pgfpathlineto{\pgfpointadd{\pgfqpoint{7.794\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{-150}{9\pgfutil@tempdima}}} |
| 416 |
\pgfpathclose |
| 417 |
\pgfusepathqstroke |
| 418 |
}% |
| 419 |
|
| 420 |
|
| 421 |
|
| 422 |
\pgfarrowsdeclare{open triangle 60 reversed}{open triangle 60 reversed} |
| 423 |
{ |
| 424 |
\pgfutil@tempdima=0.5pt% |
| 425 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 426 |
\pgfarrowsleftextend{+-\pgflinewidth} |
| 427 |
\pgfutil@tempdimb=7.794\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth% |
| 428 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 429 |
} |
| 430 |
{ |
| 431 |
\pgfutil@tempdima=0.5pt% |
| 432 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 433 |
\pgfsetdash{}{+0pt} |
| 434 |
\pgfsetmiterjoin |
| 435 |
\pgfpathmoveto{\pgfqpointpolar{30}{9\pgfutil@tempdima}} |
| 436 |
\pgfpathlineto{\pgfpointorigin} |
| 437 |
\pgfpathlineto{\pgfqpointpolar{-30}{9\pgfutil@tempdima}} |
| 438 |
\pgfpathclose |
| 439 |
\pgfusepathqstroke |
| 440 |
}% |
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
\pgfarrowsdeclare{open triangle 45}{open triangle 45} |
| 445 |
{ |
| 446 |
\pgfutil@tempdima=0.5pt% |
| 447 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 448 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 449 |
\pgfutil@tempdimb=9.205\pgfutil@tempdima\advance\pgfutil@tempdimb by1.28\pgflinewidth% |
| 450 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 451 |
} |
| 452 |
{ |
| 453 |
\pgfutil@tempdima=0.5pt% |
| 454 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 455 |
\pgfsetdash{}{+0pt} |
| 456 |
\pgfsetmiterjoin |
| 457 |
\pgfpathmoveto{\pgfpointadd{\pgfqpoint{9.205\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{157}{10\pgfutil@tempdima}}} |
| 458 |
\pgfpathlineto{\pgfqpoint{9.205\pgfutil@tempdima}{0pt}} |
| 459 |
\pgfpathlineto{\pgfpointadd{\pgfqpoint{9.205\pgfutil@tempdima}{0pt}}{\pgfqpointpolar{-157}{10\pgfutil@tempdima}}} |
| 460 |
\pgfpathclose |
| 461 |
\pgfusepathqstroke |
| 462 |
}% |
| 463 |
|
| 464 |
|
| 465 |
|
| 466 |
\pgfarrowsdeclare{open triangle 45 reversed}{open triangle 45 reversed} |
| 467 |
{ |
| 468 |
\pgfutil@tempdima=0.5pt% |
| 469 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 470 |
\pgfarrowsleftextend{+-1.28\pgflinewidth} |
| 471 |
\pgfutil@tempdimb=9.205\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth% |
| 472 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 473 |
} |
| 474 |
{ |
| 475 |
\pgfutil@tempdima=0.5pt% |
| 476 |
\advance\pgfutil@tempdima by.25\pgflinewidth% |
| 477 |
\pgfsetdash{}{+0pt} |
| 478 |
\pgfsetmiterjoin |
| 479 |
\pgfpathmoveto{\pgfqpointpolar{23}{10\pgfutil@tempdima}} |
| 480 |
\pgfpathlineto{\pgfpointorigin} |
| 481 |
\pgfpathlineto{\pgfqpointpolar{-23}{10\pgfutil@tempdima}} |
| 482 |
\pgfpathclose |
| 483 |
\pgfusepathqstroke |
| 484 |
}% |
| 485 |
|
| 486 |
|
| 487 |
|
| 488 |
% A less fleshy variant of LaTeX's ordinal arrow type |
| 489 |
|
| 490 |
\pgfarrowsdeclare{latex'}{latex'} |
| 491 |
{ |
| 492 |
\pgfutil@tempdima=0.28pt% |
| 493 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 494 |
\pgfarrowsleftextend{+-4\pgfutil@tempdima} |
| 495 |
\pgfarrowsrightextend{+6\pgfutil@tempdima} |
| 496 |
} |
| 497 |
{ |
| 498 |
\pgfutil@tempdima=0.28pt% |
| 499 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 500 |
\pgfpathmoveto{\pgfqpoint{6\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 501 |
\pgfpathcurveto |
| 502 |
{\pgfqpoint{3.5\pgfutil@tempdima}{.5\pgfutil@tempdima}} |
| 503 |
{\pgfqpoint{-1\pgfutil@tempdima}{1.5\pgfutil@tempdima}} |
| 504 |
{\pgfqpoint{-4\pgfutil@tempdima}{3.75\pgfutil@tempdima}} |
| 505 |
\pgfpathcurveto |
| 506 |
{\pgfqpoint{-1.5\pgfutil@tempdima}{1\pgfutil@tempdima}} |
| 507 |
{\pgfqpoint{-1.5\pgfutil@tempdima}{-1\pgfutil@tempdima}} |
| 508 |
{\pgfqpoint{-4\pgfutil@tempdima}{-3.75\pgfutil@tempdima}} |
| 509 |
\pgfpathcurveto |
| 510 |
{\pgfqpoint{-1\pgfutil@tempdima}{-1.5\pgfutil@tempdima}} |
| 511 |
{\pgfqpoint{3.5\pgfutil@tempdima}{-.5\pgfutil@tempdima}} |
| 512 |
{\pgfqpoint{6\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 513 |
\pgfpathclose |
| 514 |
\pgfusepathqfill |
| 515 |
}% |
| 516 |
|
| 517 |
\pgfarrowsdeclarereversed{latex' reversed}{latex' reversed}{latex'}{latex'}% |
| 518 |
|
| 519 |
|
| 520 |
% A rounded variant of the stealth arrow |
| 521 |
|
| 522 |
\pgfarrowsdeclare{stealth'}{stealth'} |
| 523 |
{ |
| 524 |
\pgfutil@tempdima=0.28pt% |
| 525 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 526 |
\pgfutil@tempdimb=6\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth% |
| 527 |
\pgfarrowsleftextend{+-\pgfutil@tempdimb} |
| 528 |
\pgfutil@tempdimb=2\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth% |
| 529 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 530 |
} |
| 531 |
{ |
| 532 |
\pgfutil@tempdima=0.28pt% |
| 533 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 534 |
\pgfsetdash{}{+0pt} |
| 535 |
\pgfsetroundjoin |
| 536 |
\pgfpathmoveto{\pgfqpoint{2\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 537 |
\pgfpathcurveto |
| 538 |
{\pgfqpoint{-.5\pgfutil@tempdima}{.5\pgfutil@tempdima}} |
| 539 |
{\pgfqpoint{-3\pgfutil@tempdima}{1.5\pgfutil@tempdima}} |
| 540 |
{\pgfqpoint{-6\pgfutil@tempdima}{3.25\pgfutil@tempdima}} |
| 541 |
\pgfpathcurveto |
| 542 |
{\pgfqpoint{-3\pgfutil@tempdima}{1\pgfutil@tempdima}} |
| 543 |
{\pgfqpoint{-3\pgfutil@tempdima}{-1\pgfutil@tempdima}} |
| 544 |
{\pgfqpoint{-6\pgfutil@tempdima}{-3.25\pgfutil@tempdima}} |
| 545 |
\pgfpathcurveto |
| 546 |
{\pgfqpoint{-3\pgfutil@tempdima}{-1.5\pgfutil@tempdima}} |
| 547 |
{\pgfqpoint{-.5\pgfutil@tempdima}{-.5\pgfutil@tempdima}} |
| 548 |
{\pgfqpoint{2\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 549 |
\pgfpathclose |
| 550 |
\pgfusepathqfillstroke |
| 551 |
}% |
| 552 |
|
| 553 |
\pgfarrowsdeclarereversed{stealth' reversed}{stealth' reversed}{stealth'}{stealth'}% |
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
% The two half of the $\to$ arrow |
| 558 |
|
| 559 |
\pgfarrowsdeclare{left to}{left to} |
| 560 |
{ |
| 561 |
\pgfutil@tempdima=-0.84pt% |
| 562 |
\advance\pgfutil@tempdima by-1.3\pgflinewidth% |
| 563 |
\pgfutil@tempdimb=0.21pt% |
| 564 |
\advance\pgfutil@tempdimb by.625\pgflinewidth% |
| 565 |
\pgfarrowsleftextend{+\pgfutil@tempdima} |
| 566 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 567 |
} |
| 568 |
{ |
| 569 |
\pgfutil@tempdima=0.28pt% |
| 570 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 571 |
\pgfsetlinewidth{0.8\pgflinewidth} |
| 572 |
\pgfsetdash{}{+0pt} |
| 573 |
\pgfsetroundcap |
| 574 |
\pgfsetroundjoin |
| 575 |
\pgfpathmoveto{\pgfqpoint{-3\pgfutil@tempdima}{4\pgfutil@tempdima}} |
| 576 |
\pgfpathcurveto |
| 577 |
{\pgfqpoint{-2.75\pgfutil@tempdima}{2.5\pgfutil@tempdima}} |
| 578 |
{\pgfqpoint{0pt}{0.25\pgfutil@tempdima}} |
| 579 |
{\pgfqpoint{0.75\pgfutil@tempdima}{0pt}} |
| 580 |
\pgfpathcurveto |
| 581 |
{\pgfqpoint{0.55\pgfutil@tempdima}{-0.125\pgflinewidth}} |
| 582 |
{\pgfqpoint{0.5\pgfutil@tempdima}{-0.125\pgflinewidth}} |
| 583 |
{\pgfqpoint{0.5\pgfutil@tempdima}{-0.125\pgflinewidth}} |
| 584 |
\pgfpathlineto{\pgfqpoint{0pt}{-0.125\pgflinewidth}} |
| 585 |
\pgfusepathqstroke |
| 586 |
}% |
| 587 |
|
| 588 |
|
| 589 |
\pgfarrowsdeclare{right to}{right to} |
| 590 |
{ |
| 591 |
\pgfutil@tempdima=-0.84pt% |
| 592 |
\advance\pgfutil@tempdima by-1.3\pgflinewidth% |
| 593 |
\pgfutil@tempdimb=0.21pt% |
| 594 |
\advance\pgfutil@tempdimb by.625\pgflinewidth% |
| 595 |
\pgfarrowsleftextend{+\pgfutil@tempdima} |
| 596 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 597 |
} |
| 598 |
{ |
| 599 |
\pgfutil@tempdima=0.28pt% |
| 600 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 601 |
\pgfsetlinewidth{0.8\pgflinewidth} |
| 602 |
\pgfsetdash{}{+0pt} |
| 603 |
\pgfsetroundcap |
| 604 |
\pgfsetroundjoin |
| 605 |
\pgfpathmoveto{\pgfqpoint{-3\pgfutil@tempdima}{-4\pgfutil@tempdima}} |
| 606 |
\pgfpathcurveto |
| 607 |
{\pgfqpoint{-2.75\pgfutil@tempdima}{-2.5\pgfutil@tempdima}} |
| 608 |
{\pgfqpoint{0pt}{-0.25\pgfutil@tempdima}} |
| 609 |
{\pgfqpoint{0.75\pgfutil@tempdima}{0pt}} |
| 610 |
\pgfpathcurveto |
| 611 |
{\pgfqpoint{0.55\pgfutil@tempdima}{0.125\pgflinewidth}} |
| 612 |
{\pgfqpoint{0.5\pgfutil@tempdima}{0.125\pgflinewidth}} |
| 613 |
{\pgfqpoint{0.5\pgfutil@tempdima}{0.125\pgflinewidth}} |
| 614 |
\pgfpathlineto{\pgfqpoint{0pt}{0.125\pgflinewidth}} |
| 615 |
\pgfusepathqstroke |
| 616 |
}% |
| 617 |
|
| 618 |
|
| 619 |
|
| 620 |
% The halves of the $\to$ arrow reversed |
| 621 |
|
| 622 |
\pgfarrowsdeclare{left to reversed}{left to reversed} |
| 623 |
{ |
| 624 |
\pgfutil@tempdima=0.28pt% |
| 625 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 626 |
\pgfarrowsleftextend{+-.1\pgflinewidth} |
| 627 |
\pgfutil@tempdimb=3.75\pgfutil@tempdima\advance\pgfutil@tempdimb by0.9\pgflinewidth% |
| 628 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 629 |
} |
| 630 |
{ |
| 631 |
\pgfutil@tempdima=0.28pt% |
| 632 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 633 |
\pgfsetdash{}{+0pt} |
| 634 |
\pgfsetroundjoin |
| 635 |
\pgfsetbuttcap |
| 636 |
\pgfpathmoveto{\pgfqpoint{0.5\pgflinewidth}{0pt}} |
| 637 |
\pgfpathlineto{\pgfqpoint{-0.1\pgflinewidth}{0pt}} |
| 638 |
\pgfusepathqstroke |
| 639 |
\pgfsetroundcap |
| 640 |
\pgfsetlinewidth{.8\pgflinewidth} |
| 641 |
{\pgftransformxshift{0.625\pgflinewidth} |
| 642 |
\pgfpathmoveto{\pgfqpoint{3.75\pgfutil@tempdima}{4\pgfutil@tempdima}} |
| 643 |
\pgfpathcurveto{\pgfqpoint{3.5\pgfutil@tempdima}{2.5\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{0.25\pgfutil@tempdima}}{\pgfqpoint{0pt}{0.125\pgflinewidth}} |
| 644 |
\pgfpathmoveto{\pgfqpoint{3.75\pgfutil@tempdima}{4\pgfutil@tempdima}} |
| 645 |
\pgfpathcurveto{\pgfqpoint{3.5\pgfutil@tempdima}{2.5\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{0.25\pgfutil@tempdima}}{\pgfqpoint{0pt}{-0.125\pgflinewidth}} |
| 646 |
} |
| 647 |
\pgfusepathqstroke% |
| 648 |
}% |
| 649 |
|
| 650 |
\pgfarrowsdeclare{right to reversed}{right to reversed} |
| 651 |
{ |
| 652 |
\pgfutil@tempdima=0.28pt% |
| 653 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 654 |
\pgfarrowsleftextend{+-.1\pgflinewidth} |
| 655 |
\pgfutil@tempdimb=3.75\pgfutil@tempdima\advance\pgfutil@tempdimb by0.9\pgflinewidth% |
| 656 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 657 |
} |
| 658 |
{ |
| 659 |
\pgfutil@tempdima=0.28pt% |
| 660 |
\advance\pgfutil@tempdima by.3\pgflinewidth% |
| 661 |
\pgfsetdash{}{+0pt} |
| 662 |
\pgfsetroundjoin |
| 663 |
\pgfsetbuttcap |
| 664 |
\pgfpathmoveto{\pgfqpoint{0.5\pgflinewidth}{0pt}} |
| 665 |
\pgfpathlineto{\pgfqpoint{-0.1\pgflinewidth}{0pt}} |
| 666 |
\pgfusepathqstroke |
| 667 |
\pgfsetroundcap |
| 668 |
\pgfsetlinewidth{.8\pgflinewidth} |
| 669 |
{\pgftransformxshift{0.625\pgflinewidth} |
| 670 |
\pgfpathmoveto{\pgfqpoint{3.75\pgfutil@tempdima}{-4\pgfutil@tempdima}} |
| 671 |
\pgfpathcurveto{\pgfqpoint{3.5\pgfutil@tempdima}{-2.5\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{-0.25\pgfutil@tempdima}}{\pgfqpoint{0pt}{-0.125\pgflinewidth}} |
| 672 |
\pgfpathmoveto{\pgfqpoint{3.75\pgfutil@tempdima}{-4\pgfutil@tempdima}} |
| 673 |
\pgfpathcurveto{\pgfqpoint{3.5\pgfutil@tempdima}{-2.5\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{-0.25\pgfutil@tempdima}}{\pgfqpoint{0pt}{0.125\pgflinewidth}} |
| 674 |
} |
| 675 |
\pgfusepathqstroke% |
| 676 |
}% |
| 677 |
|
| 678 |
|
| 679 |
|
| 680 |
% A left hook |
| 681 |
|
| 682 |
\pgfarrowsdeclare{left hook}{left hook} |
| 683 |
{ |
| 684 |
\pgfutil@tempdima=0.4pt% |
| 685 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 686 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 687 |
\pgfutil@tempdimb=3.75\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth% |
| 688 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 689 |
} |
| 690 |
{ |
| 691 |
\pgfutil@tempdima=0.4pt% |
| 692 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 693 |
\pgfsetdash{}{+0pt} |
| 694 |
\pgfsetroundcap |
| 695 |
\pgfpathmoveto{\pgfqpoint{0\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 696 |
\pgfpathlineto{\pgfqpoint{0.75\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 697 |
\pgfpathcurveto{\pgfqpoint{2.415\pgfutil@tempdima}{0\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{1.665\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{3\pgfutil@tempdima}} |
| 698 |
\pgfpathcurveto{\pgfqpoint{3.75\pgfutil@tempdima}{4.665\pgfutil@tempdima}}{\pgfqpoint{2.415\pgfutil@tempdima}{6\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{6\pgfutil@tempdima}} |
| 699 |
\pgfusepathqstroke% |
| 700 |
}% |
| 701 |
|
| 702 |
\pgfarrowsdeclarereversed{left hook reversed}{left hook reversed}{left hook}{left hook}% |
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
% A right hook |
| 707 |
|
| 708 |
\pgfarrowsdeclare{right hook}{right hook} |
| 709 |
{ |
| 710 |
\pgfutil@tempdima=0.4pt% |
| 711 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 712 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 713 |
\pgfutil@tempdimb=3.75\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth% |
| 714 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 715 |
} |
| 716 |
{ |
| 717 |
\pgfutil@tempdima=0.4pt% |
| 718 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 719 |
\pgfsetdash{}{+0pt} |
| 720 |
\pgfsetroundcap |
| 721 |
\pgfpathmoveto{\pgfqpoint{0\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 722 |
\pgfpathlineto{\pgfqpoint{0.75\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 723 |
\pgfpathcurveto{\pgfqpoint{2.415\pgfutil@tempdima}{0\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{-1.665\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{-3\pgfutil@tempdima}} |
| 724 |
\pgfpathcurveto{\pgfqpoint{3.75\pgfutil@tempdima}{-4.665\pgfutil@tempdima}}{\pgfqpoint{2.415\pgfutil@tempdima}{-6\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{-6\pgfutil@tempdima}} |
| 725 |
\pgfusepathqstroke% |
| 726 |
}% |
| 727 |
|
| 728 |
\pgfarrowsdeclarereversed{right hook reversed}{right hook reversed}{right hook}{right hook}% |
| 729 |
|
| 730 |
|
| 731 |
% Hooks in both directions |
| 732 |
|
| 733 |
\pgfarrowsdeclare{hooks}{hooks} |
| 734 |
{ |
| 735 |
\pgfutil@tempdima=0.4pt% |
| 736 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 737 |
\pgfarrowsleftextend{+-.5\pgflinewidth} |
| 738 |
\pgfutil@tempdimb=3.75\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth% |
| 739 |
\pgfarrowsrightextend{+\pgfutil@tempdimb} |
| 740 |
} |
| 741 |
{ |
| 742 |
\pgfutil@tempdima=0.4pt% |
| 743 |
\advance\pgfutil@tempdima by.2\pgflinewidth% |
| 744 |
\pgfsetdash{}{+0pt} |
| 745 |
\pgfsetroundcap |
| 746 |
\pgfpathmoveto{\pgfqpoint{0\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 747 |
\pgfpathlineto{\pgfqpoint{0.75\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 748 |
\pgfpathcurveto{\pgfqpoint{2.415\pgfutil@tempdima}{0\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{1.665\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{3\pgfutil@tempdima}} |
| 749 |
\pgfpathcurveto{\pgfqpoint{3.75\pgfutil@tempdima}{4.665\pgfutil@tempdima}}{\pgfqpoint{2.415\pgfutil@tempdima}{6\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{6\pgfutil@tempdima}} |
| 750 |
\pgfpathmoveto{\pgfqpoint{0.75\pgfutil@tempdima}{0\pgfutil@tempdima}} |
| 751 |
\pgfpathcurveto{\pgfqpoint{2.415\pgfutil@tempdima}{0\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{-1.665\pgfutil@tempdima}}{\pgfqpoint{3.75\pgfutil@tempdima}{-3\pgfutil@tempdima}} |
| 752 |
\pgfpathcurveto{\pgfqpoint{3.75\pgfutil@tempdima}{-4.665\pgfutil@tempdima}}{\pgfqpoint{2.415\pgfutil@tempdima}{-6\pgfutil@tempdima}}{\pgfqpoint{0.75\pgfutil@tempdima}{-6\pgfutil@tempdima}} |
| 753 |
\pgfusepathqstroke% |
| 754 |
}% |
| 755 |
|
| 756 |
\pgfarrowsdeclarereversed{hooks reversed}{hooks reversed}{hooks}{hooks}% |
| 757 |
|
| 758 |
|
| 759 |
% An arrow that looks like a serif of the computer modern font |
| 760 |
|
| 761 |
\pgfarrowsdeclare{serif cm}{serif cm} |
| 762 |
{ |
| 763 |
\pgfutil@tempdima=0.4pt% |
| 764 |
\advance\pgfutil@tempdima by.45\pgflinewidth% |
| 765 |
\pgfarrowsleftextend{+-.75\pgfutil@tempdima} |
| 766 |
\pgfarrowsrightextend{+.04\pgflinewidth} |
| 767 |
} |
| 768 |
{ |
| 769 |
\pgfutil@tempdima=0.4pt% |
| 770 |
\advance\pgfutil@tempdima by.45\pgflinewidth% |
| 771 |
\pgftransformxshift{.04\pgflinewidth} |
| 772 |
\pgfpathmoveto{\pgfqpoint{-.75\pgfutil@tempdima}{.5\pgflinewidth}} |
| 773 |
\pgfpathcurveto |
| 774 |
{\pgfqpoint{-.375\pgfutil@tempdima}{.5\pgflinewidth}} |
| 775 |
{\pgfqpoint{-.375\pgfutil@tempdima}{.7\pgflinewidth}} |
| 776 |
{\pgfqpoint{-.375\pgfutil@tempdima}{1.95\pgfutil@tempdima}} |
| 777 |
\pgfpathlineto{\pgfqpoint{0pt}{1.95\pgfutil@tempdima}} |
| 778 |
\pgfpathcurveto |
| 779 |
{\pgfqpoint{-.04\pgflinewidth}{.5\pgfutil@tempdima}} |
| 780 |
{\pgfqpoint{-.04\pgflinewidth}{-.5\pgfutil@tempdima}} |
| 781 |
{\pgfqpoint{0pt}{-1.95\pgfutil@tempdima}} |
| 782 |
\pgfpathlineto{\pgfqpoint{-.375\pgfutil@tempdima}{-1.95\pgfutil@tempdima}} |
| 783 |
\pgfpathcurveto |
| 784 |
{\pgfqpoint{-.375\pgfutil@tempdima}{-.7\pgflinewidth}} |
| 785 |
{\pgfqpoint{-.375\pgfutil@tempdima}{-.5\pgflinewidth}} |
| 786 |
{\pgfqpoint{-.75\pgfutil@tempdima}{-.5\pgflinewidth}} |
| 787 |
\pgfpathclose |
| 788 |
\pgfusepathqfill |
| 789 |
}% |
| 790 |
|
| 791 |
|
| 792 |
|
| 793 |
% Round cap |
| 794 |
|
| 795 |
\pgfarrowsdeclare{round cap}{round cap} |
| 796 |
{\pgfarrowsleftextend{+0pt}\pgfarrowsrightextend{+\pgflinewidth}} |
| 797 |
{ |
| 798 |
\pgfsetdash{}{+0pt} |
| 799 |
\pgfsetroundcap |
| 800 |
\pgfpathmoveto{\pgfpointorigin} |
| 801 |
\pgfpathlineto{\pgfqpoint{0.5\pgflinewidth}{0pt}} |
| 802 |
\pgfusepathqstroke |
| 803 |
}% |
| 804 |
|
| 805 |
|
| 806 |
% Butt cap |
| 807 |
|
| 808 |
\pgfarrowsdeclare{butt cap}{butt cap} |
| 809 |
{\pgfarrowsleftextend{+-.1\pgflinewidth}\pgfarrowsrightextend{+.5\pgflinewidth}} |
| 810 |
{ |
| 811 |
\pgfsetdash{}{+0pt} |
| 812 |
\pgfsetbuttcap |
| 813 |
\pgfpathmoveto{\pgfqpoint{-.1\pgflinewidth}{0pt}} |
| 814 |
\pgfpathlineto{\pgfqpoint{0.5\pgflinewidth}{0pt}} |
| 815 |
\pgfusepathqstroke |
| 816 |
}% |
| 817 |
|
| 818 |
|
| 819 |
|
| 820 |
% 90 degrees cap |
| 821 |
|
| 822 |
\pgfarrowsdeclare{triangle 90 cap}{triangle 90 cap} |
| 823 |
{\pgfarrowsleftextend{+-.1\pgflinewidth}\pgfarrowsrightextend{+\pgflinewidth}} |
| 824 |
{ |
| 825 |
\pgfpathmoveto{\pgfqpoint{-.1\pgflinewidth}{0.5\pgflinewidth}} |
| 826 |
\pgfpathlineto{\pgfqpoint{.5\pgflinewidth}{.5\pgflinewidth}} |
| 827 |
\pgfpathlineto{\pgfqpoint{\pgflinewidth}{0pt}} |
| 828 |
\pgfpathlineto{\pgfqpoint{.5\pgflinewidth}{-.5\pgflinewidth}} |
| 829 |
\pgfpathlineto{\pgfqpoint{-.1\pgflinewidth}{-0.5\pgflinewidth}} |
| 830 |
\pgfpathclose |
| 831 |
\pgfusepathqfill |
| 832 |
}% |
| 833 |
|
| 834 |
|
| 835 |
% reversed 90 degrees cap |
| 836 |
|
| 837 |
\pgfarrowsdeclare{triangle 90 cap reversed}{triangle 90 cap reversed} |
| 838 |
{\pgfarrowsleftextend{+-.1\pgflinewidth}\pgfarrowsrightextend{+\pgflinewidth}} |
| 839 |
{ |
| 840 |
\pgfpathmoveto{\pgfqpoint{1\pgflinewidth}{0.5\pgflinewidth}} |
| 841 |
\pgfpathlineto{\pgfqpoint{-.1\pgflinewidth}{.5\pgflinewidth}} |
| 842 |
\pgfpathlineto{\pgfqpoint{-.1\pgflinewidth}{-.5\pgflinewidth}} |
| 843 |
\pgfpathlineto{\pgfqpoint{1\pgflinewidth}{-.5\pgflinewidth}} |
| 844 |
\pgfpathlineto{\pgfqpoint{0.5\pgflinewidth}{0\pgflinewidth}} |
| 845 |
\pgfpathclose |
| 846 |
\pgfusepathqfill |
| 847 |
}% |
| 848 |
|
| 849 |
|
| 850 |
|
| 851 |
% fast |
| 852 |
|
| 853 |
\pgfarrowsdeclare{fast cap}{fast cap} |
| 854 |
{\pgfarrowsleftextend{+-.1\pgflinewidth}\pgfarrowsrightextend{+2\pgflinewidth}} |
| 855 |
{ |
| 856 |
\pgfpathmoveto{\pgfqpoint{-.1\pgflinewidth}{0.5\pgflinewidth}} |
| 857 |
\pgfpathlineto{\pgfqpoint{.5\pgflinewidth}{.5\pgflinewidth}} |
| 858 |
\pgfpathlineto{\pgfqpoint{1\pgflinewidth}{0\pgflinewidth}} |
| 859 |
\pgfpathlineto{\pgfqpoint{.5\pgflinewidth}{-.5\pgflinewidth}} |
| 860 |
\pgfpathlineto{\pgfqpoint{-.1\pgflinewidth}{-0.5\pgflinewidth}} |
| 861 |
\pgfpathclose |
| 862 |
\pgfpathmoveto{\pgfqpoint{1\pgflinewidth}{0.5\pgflinewidth}} |
| 863 |
\pgfpathlineto{\pgfqpoint{1.5\pgflinewidth}{0.5\pgflinewidth}} |
| 864 |
\pgfpathlineto{\pgfqpoint{2\pgflinewidth}{0\pgflinewidth}} |
| 865 |
\pgfpathlineto{\pgfqpoint{1.5\pgflinewidth}{-.5\pgflinewidth}} |
| 866 |
\pgfpathlineto{\pgfqpoint{1\pgflinewidth}{-0.5\pgflinewidth}} |
| 867 |
\pgfpathlineto{\pgfqpoint{1.5\pgflinewidth}{0\pgflinewidth}} |
| 868 |
\pgfpathclose |
| 869 |
\pgfusepathqfill |
| 870 |
}% |
| 871 |
|
| 872 |
|
| 873 |
\pgfarrowsdeclare{fast cap reversed}{fast cap reversed} |
| 874 |
{\pgfarrowsleftextend{+-.1\pgflinewidth}\pgfarrowsrightextend{+2\pgflinewidth}} |
| 875 |
{ |
| 876 |
\pgfpathmoveto{\pgfqpoint{-.1\pgflinewidth}{0.5\pgflinewidth}} |
| 877 |
\pgfpathlineto{\pgfqpoint{1\pgflinewidth}{.5\pgflinewidth}} |
| 878 |
\pgfpathlineto{\pgfqpoint{.5\pgflinewidth}{0\pgflinewidth}} |
| 879 |
\pgfpathlineto{\pgfqpoint{1\pgflinewidth}{-.5\pgflinewidth}} |
| 880 |
\pgfpathlineto{\pgfqpoint{-.1\pgflinewidth}{-0.5\pgflinewidth}} |
| 881 |
\pgfpathclose |
| 882 |
\pgfpathmoveto{\pgfqpoint{1.5\pgflinewidth}{0.5\pgflinewidth}} |
| 883 |
\pgfpathlineto{\pgfqpoint{2\pgflinewidth}{0.5\pgflinewidth}} |
| 884 |
\pgfpathlineto{\pgfqpoint{1.5\pgflinewidth}{0\pgflinewidth}} |
| 885 |
\pgfpathlineto{\pgfqpoint{2\pgflinewidth}{-.5\pgflinewidth}} |
| 886 |
\pgfpathlineto{\pgfqpoint{1.5\pgflinewidth}{-0.5\pgflinewidth}} |
| 887 |
\pgfpathlineto{\pgfqpoint{1\pgflinewidth}{0\pgflinewidth}} |
| 888 |
\pgfpathclose |
| 889 |
\pgfusepathqfill |
| 890 |
}% |
| 891 |
|
| 892 |
|
| 893 |
|
| 894 |
|
| 895 |
|
| 896 |
% Mathematical arrows |
| 897 |
|
| 898 |
|
| 899 |
% The arrow tip of an \implies arrow, to be used with an inner line. |
| 900 |
% |
| 901 |
% Example: |
| 902 |
% |
| 903 |
% \pgfsetarrow{-implies} |
| 904 |
% \pgfsetlinewidth{1.8pt} |
| 905 |
% \pgfsetinnerlinewidth{1pt} |
| 906 |
|
| 907 |
\pgfarrowsdeclare{implies}{implies} |
| 908 |
{ |
| 909 |
\pgfmathsetlength{\pgfutil@tempdima}{.25\pgflinewidth+.25*\pgfinnerlinewidth}% |
| 910 |
\pgfmathsetlength{\pgfutil@tempdimb}{.5\pgflinewidth-.5*\pgfinnerlinewidth}% |
| 911 |
\pgfarrowsrightextend{2.06\pgfutil@tempdima+.5\pgfutil@tempdimb} |
| 912 |
\pgfarrowsleftextend{-1.36\[email protected]\pgfutil@tempdimb} |
| 913 |
} |
| 914 |
{ |
| 915 |
\pgfmathsetlength{\pgfutil@tempdima}{.25\pgflinewidth+.25*\pgfinnerlinewidth}% |
| 916 |
\pgfmathsetlength{\pgfutil@tempdimb}{.5\pgflinewidth-.5*\pgfinnerlinewidth}% |
| 917 |
\pgftransformxshift{.06\pgfutil@tempdima} |
| 918 |
\pgfsetlinewidth{\pgfutil@tempdimb} |
| 919 |
\pgfsetdash{}{+0pt} |
| 920 |
\pgfsetroundcap |
| 921 |
\pgfsetroundjoin |
| 922 |
\pgfpathmoveto{\pgfpoint{-1.4\pgfutil@tempdima}{2.65\pgfutil@tempdima}} |
| 923 |
\pgfpathcurveto |
| 924 |
{\pgfpoint{-0.75\pgfutil@tempdima}{1.25\pgfutil@tempdima}} |
| 925 |
{\pgfpoint{1\pgfutil@tempdima}{0.05\pgfutil@tempdima}} |
| 926 |
{\pgfpoint{2\pgfutil@tempdima}{0pt}} |
| 927 |
\pgfpathcurveto |
| 928 |
{\pgfpoint{1\pgfutil@tempdima}{-0.05\pgfutil@tempdima}} |
| 929 |
{\pgfpoint{-.75\pgfutil@tempdima}{-1.25\pgfutil@tempdima}} |
| 930 |
{\pgfpoint{-1.4\pgfutil@tempdima}{-2.65\pgfutil@tempdima}} |
| 931 |
\pgfusepathqstroke |
| 932 |
}% |
| 933 |
|
| 934 |
|
| 935 |
|
| 936 |
\endinput |