summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/wargame/source/natoapp6c/frames/unknown.dtx
blob: e6bd3aec385607c845008ce98bcf671c786662aa (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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
% \iffalse
% --------------------------------------------------------------------
%<*natoapp6c>
% \fi
% \subsubsection{`Unknown' node shapes}
%
%
% Macro to define unknown path elements
%
%    \begin{macrocode}
\def\n@to@pp@unknown@init{%
  \def\n@to@pp@unknown@top{%
    \innernortheast \wg@tmpa=\pgf@x%
    \cntrlnortheast \wg@tmpb=\pgf@x%
    \pgfpathcurveto{%
      \pgfqpoint{ \wg@tmpa}{\wg@tmpb}}{%
      \pgfqpoint{-\wg@tmpa}{\wg@tmpb}}{%
      \pgfqpoint{-\wg@tmpa}{\wg@tmpa}}}
  \def\n@to@pp@unknown@left{%
    \innernortheast \wg@tmpa=\pgf@x%
    \cntrlnortheast \wg@tmpb=\pgf@x%
    \pgfpathcurveto{%
      \pgfqpoint{-\wg@tmpb}{ \wg@tmpa}}{%
      \pgfqpoint{-\wg@tmpb}{-\wg@tmpa}}{%
      \pgfqpoint{-\wg@tmpa}{-\wg@tmpa}}}
  \def\n@to@pp@unknown@bottom{%
    \innernortheast \wg@tmpa=\pgf@x%
    \cntrlnortheast \wg@tmpb=\pgf@x%
    \pgfpathcurveto{%
      \pgfqpoint{-\wg@tmpa}{-\wg@tmpb}}{%
      \pgfqpoint{ \wg@tmpa}{-\wg@tmpb}}{%
      \pgfqpoint{ \wg@tmpa}{-\wg@tmpa}}}
  \def\n@to@pp@unknown@right{%
    \innernortheast \wg@tmpa=\pgf@x%
    \cntrlnortheast \wg@tmpb=\pgf@x%
    \pgfpathcurveto{%
      \pgfqpoint{ \wg@tmpb}{-\wg@tmpa}}{%
      \pgfqpoint{ \wg@tmpb}{ \wg@tmpa}}{%
      \pgfqpoint{ \wg@tmpa}{ \wg@tmpa}}}
}
%    \end{macrocode}
%    
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown land}
%
%   The unknown land command
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown land}{%
  \inheritsavedanchors[from=natoapp6c base]
  \savedanchor\innernortheast{\pgf@x=.7\n@to@pp@r\pgf@y=.7\n@to@pp@r}
  \savedanchor\cntrlnortheast{\pgf@x=1.6\n@to@pp@r\pgf@y=1.6\n@to@pp@r}
  \savedanchor\northeast{\pgf@x=1.4\n@to@pp@r\pgf@y=1.4\n@to@pp@r}
  \anchor{inner north east}{\innernortheast}
  \anchor{inner north west}{\innernortheast\pgf@x=-\pgf@x}
  \anchor{inner south west}{\innernortheast\pgf@x=-\pgf@x\pgf@y=-\pgf@y}
  \anchor{inner south east}{\innernortheast\pgf@y=-\pgf@y}
  \anchor{north east}{\northeast}
  \anchor{north west}{\northeast\pgf@x=-\pgf@x}
  \anchor{south west}{\northeast\pgf@x=-\pgf@x\pgf@y=-\pgf@y}
  \anchor{south east}{\northeast\pgf@y=-\pgf@y}
  \anchor{north}{\northeast\pgf@x=0cm}
  \anchor{east}{\northeast\pgf@y=0cm}
  \anchor{south}{\northeast\pgf@x=0cm\pgf@y=-\pgf@y}
  \anchor{west}{\northeast\pgf@x=-\pgf@x\pgf@y=0cm}
  \inheritanchor[from=natoapp6c base]{center}
  \inheritanchor[from=natoapp6c base]{upper}
  \inheritanchor[from=natoapp6c base]{lower}
  \inheritanchor[from=natoapp6c base]{left}
  \inheritanchor[from=natoapp6c base]{right}
  \backgroundpath{%
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{-\wg@tmpa}}%
    \n@to@pp@unknown@right %
    \n@to@pp@unknown@top   %
    \n@to@pp@unknown@left  %
    \n@to@pp@unknown@bottom%
  }
  \behindforegroundpath{%
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{-\wg@tmpa}}%
    \n@to@pp@unknown@right %
    \n@to@pp@unknown@top   %
    \n@to@pp@unknown@left  %
    \n@to@pp@unknown@bottom%
    \pgfusepath{stroke}}
}
%    \end{macrocode}
% \end{NatoAppFrame}
% 
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown air}
%
%   The unknown air command.  To consider: Should clipping path extend
%   below the actual symbol to include that part of the base symbol?
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown air}{%
  \inheritsavedanchors[from=natoapp6c unknown land]
  \inheritanchor[from=natoapp6c unknown land]{inner north east}
  \inheritanchor[from=natoapp6c unknown land]{inner north west}
  \inheritanchor[from=natoapp6c unknown land]{inner south west}
  \inheritanchor[from=natoapp6c unknown land]{inner south east}
  \inheritanchor[from=natoapp6c unknown land]{north east}
  \inheritanchor[from=natoapp6c unknown land]{north west}
  \inheritanchor[from=natoapp6c unknown land]{north}
  \inheritanchor[from=natoapp6c unknown land]{west}
  \inheritanchor[from=natoapp6c unknown land]{east}
  \inheritanchor[from=natoapp6c unknown land]{upper}
  \inheritanchor[from=natoapp6c unknown land]{lower}
  \inheritanchor[from=natoapp6c unknown land]{left}
  \inheritanchor[from=natoapp6c unknown land]{right}
  \inheritanchor[from=natoapp6c unknown land]{center}
  \anchor{south}{\innernortheast\pgf@x=0cm\pgf@y=-\pgf@y}
  \anchor{south east}{
    \northeast\wg@tmpa=\pgf@x
    \innernortheast\pgf@y=-\pgf@y
    \pgf@x=\wg@tmpa}
  \anchor{south west}{
    \northeast\wg@tmpa=\pgf@x
    \innernortheast\pgf@y=-\pgf@y
    \pgf@x=-\wg@tmpa}
  \backgroundpath{%
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{-\wg@tmpa}}%
    \n@to@pp@unknown@right %
    \n@to@pp@unknown@top   %
    \n@to@pp@unknown@left  %
    \ifn@to@pp@isclip
    \pgfpathlineto{\pgfqpoint{0cm}{-\radius}}
    \pgfpathclose
    \fi
  }
  \behindforegroundpath{%
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{-\wg@tmpa}}%
    \n@to@pp@unknown@right %
    \n@to@pp@unknown@top   %
    \n@to@pp@unknown@left  %
    \pgfusepath{stroke}%
  }
}
%    \end{macrocode}
% \end{NatoAppFrame}
% 
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown activity}
%
%   The unknown activity command.  Similar to land command, but with
%   boxes in the the `corners'.
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown activity}{%
  \inheritsavedanchors[from=natoapp6c unknown land]
  \inheritanchor[from=natoapp6c unknown land]{inner north east}
  \inheritanchor[from=natoapp6c unknown land]{inner north west}
  \inheritanchor[from=natoapp6c unknown land]{inner south west}
  \inheritanchor[from=natoapp6c unknown land]{inner south east}
  \inheritanchor[from=natoapp6c unknown land]{north east}
  \inheritanchor[from=natoapp6c unknown land]{north west}
  \inheritanchor[from=natoapp6c unknown land]{south east}
  \inheritanchor[from=natoapp6c unknown land]{south west}
  \inheritanchor[from=natoapp6c unknown land]{north}
  \inheritanchor[from=natoapp6c unknown land]{west}
  \inheritanchor[from=natoapp6c unknown land]{east}
  \inheritanchor[from=natoapp6c unknown land]{south}
  \inheritanchor[from=natoapp6c unknown land]{upper}
  \inheritanchor[from=natoapp6c unknown land]{lower}
  \inheritanchor[from=natoapp6c unknown land]{left}
  \inheritanchor[from=natoapp6c unknown land]{right}
  \inheritanchor[from=natoapp6c unknown land]{center}
  \inheritbackgroundpath[from=natoapp6c unknown land]
  \behindforegroundpath{
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \begin{n@to@pp@stroketofill}
      \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{-\wg@tmpa}}%
      \n@to@pp@unknown@right %
      \n@to@pp@unknown@top   %
      \n@to@pp@unknown@left  %
      \n@to@pp@unknown@bottom%
      \pgfusepath{stroke,clip}
      %
      \northeast\wg@tmpa\pgf@x
      \advance\wg@tmpa0.005cm
      \wg@tmpb=\wg@tmpa
      \advance\wg@tmpb-\n@to@pp@act@w
      \wg@tmpc=\n@to@pp@act@w
      \divide\wg@tmpc2
      %
      \pgfpathmoveto{\pgfqpoint{ \wg@tmpc}{\wg@tmpa}}%
      \pgfpathlineto{\pgfqpoint{-\wg@tmpc}{\wg@tmpa}}%
      \pgfpathlineto{\pgfqpoint{-\wg@tmpc}{\wg@tmpb}}%
      \pgfpathlineto{\pgfqpoint{ \wg@tmpc}{\wg@tmpb}}%
      \pgfclosepath%
      \pgfusepath{fill}
      %
      \pgfpathmoveto{\pgfqpoint{ \wg@tmpc}{-\wg@tmpb}}%
      \pgfpathlineto{\pgfqpoint{-\wg@tmpc}{-\wg@tmpb}}%
      \pgfpathlineto{\pgfqpoint{-\wg@tmpc}{-\wg@tmpa}}%
      \pgfpathlineto{\pgfqpoint{ \wg@tmpc}{-\wg@tmpa}}%
      \pgfclosepath%
      \pgfusepath{fill}
      %
      \pgfpathmoveto{\pgfqpoint{ \wg@tmpa}{ \wg@tmpc}}%
      \pgfpathlineto{\pgfqpoint{ \wg@tmpb}{ \wg@tmpc}}%
      \pgfpathlineto{\pgfqpoint{ \wg@tmpb}{-\wg@tmpc}}%
      \pgfpathlineto{\pgfqpoint{ \wg@tmpa}{-\wg@tmpc}}%
      \pgfclosepath%
      \pgfusepath{fill}
      %
      \pgfpathmoveto{\pgfqpoint{-\wg@tmpb}{ \wg@tmpc}}%
      \pgfpathlineto{\pgfqpoint{-\wg@tmpa}{ \wg@tmpc}}%
      \pgfpathlineto{\pgfqpoint{-\wg@tmpa}{-\wg@tmpc}}%
      \pgfpathlineto{\pgfqpoint{-\wg@tmpb}{-\wg@tmpc}}%
      \pgfclosepath%
      \pgfusepath{fill}
    \end{n@to@pp@stroketofill}
  }
}
%    \end{macrocode}
% \end{NatoAppFrame}
% 
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown equipment}
%
%   The unknown equipment command.  Same as land command.
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown equipment}{%
  \inheritsavedanchors[from=natoapp6c unknown land]
  \inheritanchor[from=natoapp6c unknown land]{inner north east}
  \inheritanchor[from=natoapp6c unknown land]{inner north west}
  \inheritanchor[from=natoapp6c unknown land]{inner south west}
  \inheritanchor[from=natoapp6c unknown land]{inner south east}
  \inheritanchor[from=natoapp6c unknown land]{north east}
  \inheritanchor[from=natoapp6c unknown land]{north west}
  \inheritanchor[from=natoapp6c unknown land]{south east}
  \inheritanchor[from=natoapp6c unknown land]{south west}
  \inheritanchor[from=natoapp6c unknown land]{north}
  \inheritanchor[from=natoapp6c unknown land]{west}
  \inheritanchor[from=natoapp6c unknown land]{east}
  \inheritanchor[from=natoapp6c unknown land]{south}
  \inheritanchor[from=natoapp6c unknown land]{upper}
  \inheritanchor[from=natoapp6c unknown land]{lower}
  \inheritanchor[from=natoapp6c unknown land]{left}
  \inheritanchor[from=natoapp6c unknown land]{right}
  \inheritanchor[from=natoapp6c unknown land]{center}
  \inheritbackgroundpath[from=natoapp6c unknown land]
  \inheritbehindforegroundpath[from=natoapp6c unknown land]
}
%    \end{macrocode}
% \end{NatoAppFrame}
% 
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown installation}
%
%   The unknown installation command.  Similar to land command, but
%   with a `hat' on top.   Note, NATO App6(d) makes the `hat' lower
%   part disconnected from the main symbol.  I find that ugly, so we
%   do it like NATO App6(c).
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown installation}{%
  \inheritsavedanchors[from=natoapp6c unknown land]
  \inheritanchor[from=natoapp6c unknown land]{center}
  \inheritanchor[from=natoapp6c unknown land]{inner north east}
  \inheritanchor[from=natoapp6c unknown land]{inner north west}
  \inheritanchor[from=natoapp6c unknown land]{inner south west}
  \inheritanchor[from=natoapp6c unknown land]{inner south east}
  \inheritanchor[from=natoapp6c unknown land]{north east}
  \inheritanchor[from=natoapp6c unknown land]{north west}
  \inheritanchor[from=natoapp6c unknown land]{south east}
  \inheritanchor[from=natoapp6c unknown land]{south west}
  \inheritanchor[from=natoapp6c unknown land]{north}
  \inheritanchor[from=natoapp6c unknown land]{west}
  \inheritanchor[from=natoapp6c unknown land]{east}
  \inheritanchor[from=natoapp6c unknown land]{south}
  \inheritanchor[from=natoapp6c unknown land]{upper}
  \inheritanchor[from=natoapp6c unknown land]{lower}
  \inheritanchor[from=natoapp6c unknown land]{left}
  \inheritanchor[from=natoapp6c unknown land]{right}
  \inheritanchor[from=natoapp6c unknown land]{center}
  \inheritbackgroundpath[from=natoapp6c unknown land]
  \behindforegroundpath{
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%

    \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{-\wg@tmpa}}%
    \n@to@pp@unknown@right %
    \n@to@pp@unknown@top   %
    \n@to@pp@unknown@left  %
    \n@to@pp@unknown@bottom%
    \pgfusepath{stroke}
    % 
    \begin{n@to@pp@stroketofill}
      \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{\wg@tmpa}}%
      \n@to@pp@unknown@top   %
      %
      \northeast\wg@tmpb=\pgf@y\wg@tmpc=\pgf@y%
      \advance\wg@tmpb\n@to@pp@inst@h%
      \advance\wg@tmpb-0.05cm%
      \advance\wg@tmpc-\n@to@pp@inst@h%
      \advance\wg@tmpc-\n@to@pp@inst@h%
      %
      \pgfpathlineto{\pgfqpoint{-\wg@tmpa}{\wg@tmpb}}%
      \pgfpathlineto{\pgfqpoint{ \wg@tmpa}{\wg@tmpb}}%
      \pgfclosepath%
      \pgfusepath{clip}%
      %
      \pgfpathmoveto{\pgfqpoint{ \n@to@pp@inst@x}{\wg@tmpb}}%
      \pgfpathlineto{\pgfqpoint{-\n@to@pp@inst@x}{\wg@tmpb}}%
      \pgfpathlineto{\pgfqpoint{-\n@to@pp@inst@x}{\wg@tmpc}}%
      \pgfpathlineto{\pgfqpoint{ \n@to@pp@inst@x}{\wg@tmpc}}%
      \pgfclosepath%
      \pgfusepath{fill}%
    \end{n@to@pp@stroketofill}
  }
}
%    \end{macrocode}
% \end{NatoAppFrame}
% 
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown sea surface}
%
%   The unknown sea surface command.  Same as land command
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown sea surface}{%
  \inheritsavedanchors[from=natoapp6c unknown land]
  \inheritanchor[from=natoapp6c unknown land]{inner north east}
  \inheritanchor[from=natoapp6c unknown land]{inner north west}
  \inheritanchor[from=natoapp6c unknown land]{inner south west}
  \inheritanchor[from=natoapp6c unknown land]{inner south east}
  \inheritanchor[from=natoapp6c unknown land]{north east}
  \inheritanchor[from=natoapp6c unknown land]{north west}
  \inheritanchor[from=natoapp6c unknown land]{south east}
  \inheritanchor[from=natoapp6c unknown land]{south west}
  \inheritanchor[from=natoapp6c unknown land]{north}
  \inheritanchor[from=natoapp6c unknown land]{west}
  \inheritanchor[from=natoapp6c unknown land]{east}
  \inheritanchor[from=natoapp6c unknown land]{south}
  \inheritanchor[from=natoapp6c unknown land]{upper}
  \inheritanchor[from=natoapp6c unknown land]{lower}
  \inheritanchor[from=natoapp6c unknown land]{left}
  \inheritanchor[from=natoapp6c unknown land]{right}
  \inheritanchor[from=natoapp6c unknown land]{center}
  \inheritbackgroundpath[from=natoapp6c unknown land]
  \inheritbehindforegroundpath[from=natoapp6c unknown land]
}
%    \end{macrocode}
% \end{NatoAppFrame}
% 
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown space}
%
%   The unknown space command.  Similar to air command, but with a top
%   bar. 
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown space}{%
  \inheritsavedanchors[from=natoapp6c unknown air]
  \inheritanchor[from=natoapp6c unknown air]{inner north east}
  \inheritanchor[from=natoapp6c unknown air]{inner north west}
  \inheritanchor[from=natoapp6c unknown air]{inner south west}
  \inheritanchor[from=natoapp6c unknown air]{inner south east}
  \inheritanchor[from=natoapp6c unknown air]{north east}
  \inheritanchor[from=natoapp6c unknown air]{north west}
  \inheritanchor[from=natoapp6c unknown air]{south east}
  \inheritanchor[from=natoapp6c unknown air]{south west}
  \inheritanchor[from=natoapp6c unknown air]{north}
  \inheritanchor[from=natoapp6c unknown air]{west}
  \inheritanchor[from=natoapp6c unknown air]{east}
  \inheritanchor[from=natoapp6c unknown air]{south}
  \inheritanchor[from=natoapp6c unknown air]{upper}
  \inheritanchor[from=natoapp6c unknown air]{lower}
  \inheritanchor[from=natoapp6c unknown air]{left}
  \inheritanchor[from=natoapp6c unknown air]{right}
  \inheritanchor[from=natoapp6c unknown air]{center}
  \inheritbackgroundpath[from=natoapp6c unknown air]
  \behindforegroundpath{%
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \begin{n@to@pp@stroketofill}
      \pgfpathmoveto{\pgfqpoint{\wg@tmpa}{-\wg@tmpa}}%
      \n@to@pp@unknown@right %
      \n@to@pp@unknown@top   %
      \n@to@pp@unknown@left  %
      \pgfusepath{stroke,clip}%
      % 
      \northeast\wg@tmpa=\pgf@y\wg@tmpb=\pgf@y
      \advance\wg@tmpb-\n@to@pp@space@h
      %
      \pgfpathmoveto{\pgfqpoint{ \radius}{\wg@tmpa}}%
      \pgfpathlineto{\pgfqpoint{-\radius}{\wg@tmpa}}%
      \pgfpathlineto{\pgfqpoint{-\radius}{\wg@tmpb}}%
      \pgfpathlineto{\pgfqpoint{ \radius}{\wg@tmpb}}%
      \pgfclosepath%
      \pgfusepath{fill}%
    \end{n@to@pp@stroketofill}
  }
}
%    \end{macrocode}
% \end{NatoAppFrame}
% 
% \iffalse
% ....................................................................
% \fi
% \begin{NatoAppFrame}{natoapp6c unknown sub surface}
%
%   The unknown sub surface command. 
%   
%    \begin{macrocode}
\pgfdeclareshape{natoapp6c unknown sub surface}{%
  \inheritsavedanchors[from=natoapp6c unknown land]
  \inheritanchor[from=natoapp6c unknown land]{inner north east}
  \inheritanchor[from=natoapp6c unknown land]{inner north west}
  \inheritanchor[from=natoapp6c unknown land]{inner south west}
  \inheritanchor[from=natoapp6c unknown land]{inner south east}
  \inheritanchor[from=natoapp6c unknown land]{south east}
  \inheritanchor[from=natoapp6c unknown land]{south west}
  \inheritanchor[from=natoapp6c unknown land]{south}
  \inheritanchor[from=natoapp6c unknown land]{west}
  \inheritanchor[from=natoapp6c unknown land]{east}
  \inheritanchor[from=natoapp6c unknown land]{upper}
  \inheritanchor[from=natoapp6c unknown land]{lower}
  \inheritanchor[from=natoapp6c unknown land]{left}
  \inheritanchor[from=natoapp6c unknown land]{right}
  \inheritanchor[from=natoapp6c unknown land]{center}
  \anchor{north}{\innernortheast\pgf@x=0cm}
  \anchor{north east}{
    \northeast\wg@tmpa=\pgf@x
    \innernortheast\pgf@y=\pgf@y
    \pgf@x=\wg@tmpa}
  \anchor{north west}{
    \northeast\wg@tmpa=\pgf@x
    \innernortheast\pgf@y=\pgf@y
    \pgf@x=-\wg@tmpa}
  \backgroundpath{%
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \pgfpathmoveto{\pgfqpoint{-\wg@tmpa}{\wg@tmpa}}%
    \n@to@pp@unknown@left %
    \n@to@pp@unknown@bottom   %
    \n@to@pp@unknown@right  %
    \ifn@to@pp@isclip
    \pgfpathlineto{\pgfqpoint{0cm}{\radius}}
    \pgfpathclose
    \fi
  }
  \behindforegroundpath{%
    \n@to@pp@unknown@init
    \innernortheast \wg@tmpa=\pgf@x%
    \pgfpathmoveto{\pgfqpoint{-\wg@tmpa}{\wg@tmpa}}%
    \n@to@pp@unknown@left %
    \n@to@pp@unknown@bottom   %
    \n@to@pp@unknown@right  %
    \pgfusepath{stroke}}
}
%    \end{macrocode}
% \end{NatoAppFrame}
% \iffalse
%</natoapp6c>
% --------------------------------------------------------------------
% \fi