Debian Codegraph @

texmf-dist/fonts/source/public/dingbat/dingbat.mf

raw
1 % Dingbat characters as of 3-3-89 by Doug Henderson
2 % To be run with plain.bas.
3 % Last modified on 3-27-89
4
5 font_size=10pt#; % make the pxl or pk files be in ...\pixel\pxl1500
6
7 def clear_all =
8 clearit; clearxy;
9 enddef;
10
11 %%%
12 % turn pt,in,cm etc. into pixel values
13 %%%
14
15 mode_setup;
16
17 %%%
18 % define your variables here
19 %%%
20 string s[];
21 picture p[];
22 numeric anchor_scale;
23 anchor_scale=10;
24 path the_anchor,ring_of_anchor,tilted_anchor,tilted_ring;
25 % how much to tilt the anchor
26 numeric akilter;
27 akilter:=20;
28 picture holdit,holdem,flower_x,flower_y;
29 path collar, thumb, index_finger, the_bird, ring_finger, pinky_finger ;
30 a#:=12pt#;
31 b#:=12pt#;
32 glyph_width#:=10pt#;
33 glyph_height#:=7pt#;
34 uniform_square#:=20pt#;
35 triangle_size#:=12pt#;
36 check_width#:=10pt#;
37 check_height#:=10pt#;
38 check_depth#:=0pt#;
39 dash#:=2pt#;
40 %flu_width#:=31pt#;
41 %flu_height#:=15pt#;
42 flu_width#:=62pt#;
43 flu_height#:=30pt#;
44 anchor_height#:=150pt#/anchor_scale;
45 anchor_width#:=130pt#/anchor_scale;
46 anchor_depth#:=0pt#;
47
48
49 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
50
51 % Very thin weight stroke for flouron (not advised for < 600dpi)
52 %thinish#:=.25pt#;
53 %thinthick#:=.45pt#;
54 %thickish#:=.75pt#;
55
56 % Normal weight stroke for flouron
57 thinish#:=.5pt#;
58 thinthick#:=1pt#;
59 thickish#:=1.5pt#;
60
61 % Heavy weight stroke for flouron
62 %thinish#:=1pt#;
63 %thinthick#:=2pt#;
64 %thickish#:=2.5pt#;
65
66 % Strokes widths for the flower from 1-12 (= 1 pixel - 4.5pt)
67 flower_one#:=.25;
68 flower_two#:=.5;
69 flower_three#:=.5pt#/1.5;
70 flower_four#:=.5pt#/1.5;
71 flower_five#:=1pt#/1.5;
72 flower_six#:=1.5pt#/1.5;
73 flower_seven#:=2pt#/1.5;
74 flower_eight#:=2.5pt#/1.5;
75 flower_nine#:=3pt#/1.5;
76 flower_ten#:=3.5pt#/1.5;
77 flower_eleven#:=4pt#/1.5;
78 flower_twelve#:=4.5pt#/1.5;
79 hand_scale=6;
80 hand_width#:=110pt#/hand_scale;
81 hand_height#:=80pt#/hand_scale;
82 hand_depth#:=0pt#;
83
84 %%%
85 % define your pixels here, do this for each variable defined above
86 %%%
87
88 define_pixels(glyph_width,glyph_height,uniform_square,triangle_size);
89 define_pixels(check_width,check_height,check_depth,dash,thinish,thickish);
90 define_pixels(thinthick,flu_width,flu_height,a,b);
91 define_pixels(flower_one,flower_two,flower_three,flower_four,flower_five);
92 define_pixels(flower_six,flower_seven,flower_eight,flower_nine,flower_ten);
93 define_pixels(flower_eleven,flower_twelve);
94 define_pixels(hand_width,hand_height,hand_depth,dash);
95 define_pixels(anchor_height,anchor_weight,anchor_depth);
96
97 %%%
98 % define a macro which pauses until the user hits the return key
99 %%%
100
101 def
102 whoa= s0:= readstring;
103 enddef;
104 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
105 %% Define all the pens we use
106 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
107 pickup pensquare scaled .2pt;
108 smallpen:=savepen;
109 pickup pensquare scaled .4pt;
110 bigpen:=savepen;
111 pickup pensquare scaled .8pt;
112 bigger:=savepen;
113 pickup pencircle scaled .1pt;
114 razorpen:=savepen;
115 pickup pencircle scaled 2pt;
116 bigdotpen:=savepen;
117 pickup pencircle scaled 1.1pt;
118 lildotpen:=savepen;
119 pickup pensquare scaled 1.6pt;
120 chunkypen:=savepen;
121 pickup pencircle scaled .35pt;
122 ringpen:=savepen;
123
124 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
125 %% Let the dingbat characters begin
126 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
127
128 "Anchor for TUG dingbat contest";
129 beginchar("O",anchor_width#,anchor_height#,anchor_depth#);
130 %%%
131 % x variables
132 %%%
133 x1=8/130w; % x1
134 x2=6/130w; % x2
135 x3=13/130w; % x3
136 x4=x25=x26=x31=30/130w; % x4 x25 x26 x31
137 x5=x22=60/130w; % x5
138 x6=x14=x18=x19=90/130w; % x6 x14 x18 x19
139 x27=x28=x45=54/130w; % x27 x28 x45
140 x17=x35=x56=66/130w; % x17 x35 x56
141
142 x7=107/130w; % x7
143 x8=114/130w; % x8
144 x10=112/130w; % x10
145 x12=94/130w; % x12
146 x13=99/130w; % x13
147 x15=72/130w; % x15
148 x16=67/130w; % x16
149 x20=70/130w; % x20
150 x21=65/130w; % x21
151 x23=55/130w; % x23
152 x24=50/130w; % x24
153
154 x29=53/130w; % x29
155 x30=48/130w; % x30
156 x32=21/130w; % x32
157 x33=26/130w; % x33
158
159 %%%
160 % y variables
161 %%%
162 y1=y10=65/150h; % y1 y10
163 y2=y8=43/150h; % y2 y8
164 y3=y7=45/150h; % y3 y7
165
166 y4=y6=25/150h; % y4 y6
167 y5=13/150h; % y5
168 y21=y23=130/150h; % y21 y23
169 y22=136/150h; % y22
170 y45=y56=20/150h; % y45 y56
171
172 y18=y26=y27=y35=118/150h; % y18 y26 y27 y35
173 y19=y20=y24=y25=124/150h; % y19 y20 y24 y25
174 y17=y28=40/150h; % y17 y28
175 y16=y29=36/150h; % y16 y29
176 y15=y30=35/150h; % y15 y30
177 y14=y31=38/150h; % y14 y31
178 y13=y32=50/150h; % y13 y32
179 y12=y33=54/150h; % y12 y33
180
181 %%%
182 % path assignments
183 %%%
184 the_anchor = z25--z26--z27--z28 & z28..z29..z31..z32 &
185 z32--z33--z1--z2--z3 & z3..z4..z45 & z45--z5--z56 & z56..z6..z7 &
186 z7--z8--z10--z12--z13 & z13..z14..z16..z17 &
187 z17--z35--z18--z19--cycle;
188 ring_of_anchor = z20..z22..z24;
189
190 tilted_anchor = the_anchor rotated akilter;
191 tilted_ring = ring_of_anchor rotated akilter;
192 %%%
193 % draw the character, show how ring meets anchor
194 %%%
195 pickup razorpen;
196 fill the_anchor;
197 pickup ringpen;
198 draw ring_of_anchor;
199
200 %%%
201 % after clearing previous path (upright anchor) fill the tilted path
202 %%%
203 %clearit;
204 %fill tilted_anchor;
205 %draw tilted_ring;
206 %showit;
207 %message"When thru viewing, press Enter to continue";
208 %whoa;
209
210 labels(range 1 thru 4,45,5,56,range 6 thru 19);
211 labels(range 20 thru 33,35);
212
213 endchar;
214
215
216 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
217 "Hand pointer to the left";
218 beginchar("N",hand_width#,hand_height#,hand_depth#);
219 %%%
220 % x variables
221 %%%
222 x1=9.5/110w; % x1
223 x2=15/110w; % x2
224 x3=x6=20/110w; % x3 x6
225 x4=19/110w; % x4
226 x5=x8=16/110w; % x5 x8
227 x7=21/110w; % x7
228 x9=10.5/110w; % x8
229 x10=5/110w; % x10
230 x11=42.5/110w; % x11
231 x1112=61/110w; % x1112 (a point between 11 and 12)
232 x12=67/110w; % x12
233 x13=x24=70/110w; % x13 x24
234 x14=57.5/110w; % x14
235 x15=76/110w; % x15
236 x16=77/110w; % x16
237 x17=58/110w; % x17
238 x18=82.5/110w; % x18
239 x19=83/110w; % x19
240 x20=57/110w; % x20
241 x21=94/110w; % x21
242 x22=102/110w; % x22
243 x23=90/110w; % x23
244 x25=43.5/110w; % x25
245 x26=62.5/110w; % x26
246 x27=75/110w; % x27
247 x28=74/110w; % x28
248
249 %%%
250 % y variables
251 %%%
252 y1=y24=63/80h; % y1 y24
253 y2=y25=64/80h; % y2 y25
254 y3=63.5/80h; % y3
255 y4=59/80h; % y4
256 y5=y17=40/80h; % y5 y17
257 y6=18/80h; % y6
258 y7=13/80h; % y7
259 y8=12.5/80h; % y8
260 y9=13.5/80h; % y9
261 y10=39.5/80h; % y10
262 y11=15/80h; % y11
263 y1112=17.5/80h; % y1112 (a point between 11 and 12)
264 y12=20/80h; % y12
265 y13=27.5/80h; % y13
266 y14=28/80h; % y14
267 y15=32/80h; % y15
268 y16=39/80h; % y16
269 y18=44/80h; % y18
270 y19=y21=50/80h; % y19
271 y20=51/80h; % y20
272 y22=55/80h; % y22
273 y23=62/80h; % y23
274 y26=71/80h; % y26
275 y27=72/80h; % y27
276 y28=67/80h; % y28
277
278 collar=z1..z2..z3 & z3..z4..z5..z6..z7 & z7..z8..z9 & z9..z10..z1;
279 thumb=z25..z26..z27..z28..z24;
280 index_finger=z4..z25..z24..z23..z22..z21..z19..z20;
281 the_bird=z17--z16..z18..z19;
282 ring_finger=z14--z13..z15..z16;
283 pinky_finger=z6..z11..z1112 & z1112..z12..z13;
284
285 pickup razorpen;
286
287 draw collar; draw thumb; draw index_finger;
288 draw the_bird; draw ring_finger; draw pinky_finger;
289 labels(range 1 thru 11,1112,range 12 thru 28);
290 endchar;
291
292 "Flowery flouron";
293 beginchar("J",flu_width#,flu_height#,0);
294 % first stroke = x1 thru x8
295 x1=.02w; x2=.10w; x3=.23w; x4=.38w; x5=.51w;
296 x6=.73w; x7=.85w; x8=x14=x19=.98w;
297 % second stroke = x9 thru x14
298 x9=.22w; x10=.17w; x11=.165w; x12=.20w;
299 x13=.58w; % x14=x8=x19
300 % third stroke = x15 thru x19
301 x15=.32w; x16=.46w; x17=.65w; x18=.82w; % x19=x8=x14
302 % first stroke = y1 thru y8
303 y1=.05h; y2=.19h; y3=.26h; y4=.24h; y5=.18h;
304 y6=.13h; y7=.14h; y8=y14=y19=.19h;
305 % second stroke = y9 thru y14
306 y9=.99h; y10=.92h; y11=.85h;
307 y12=.71h; y13=.32h; % y14=y8
308 % third stroke = y15 thru y19
309 y15=.67h; y16=.74h; y17=.71h; y18=.48h;
310 % pen positions for stroke 1
311 penpos1(flower_one,135); penpos2(flower_five,135); penpos3(flower_nine,90);
312 penpos4(flower_twelve,90); penpos5(flower_ten,67); penpos6(flower_five,85);
313 penpos7(flower_four,90); penpos8(flower_three,135);
314 % pen positions for stroke 2
315 penpos9(flower_one,135); penpos10(flower_seven,180);
316 penpos11(flower_eight,180); penpos12(flower_seven,210);
317 penpos13(flower_six,210); penpos14(flower_three,270);
318 % pen positions for stroke 3
319 penpos15(flower_one,115); penpos16(flower_seven,100);
320 penpos17(flower_nine,70); penpos18(flower_five,45);
321 penpos19(flower_three,45);
322 % now draw our three strokes
323 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e;
324 penstroke z9e...z10e...z11e...z12e{dir 315}...z13e...z14e;
325 penstroke z15e..z16e..z17e..z18e{dir 315}..z19e;
326 penlabels(range 1 thru 19);
327 flower_x:=currentpicture;
328 endchar;
329
330 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
331
332 "Right flower";
333 beginchar("K",flu_width#,flu_height#,0);
334 currentpicture:=currentpicture+flower_x;
335 currentpicture:=currentpicture reflectedabout((.5[0,0],1),(.5[0,0],0));
336 currentpicture:=currentpicture shifted (w,0);
337 flower_y:=currentpicture;
338 endchar;
339
340 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
341 "Flipped left flower--matches J";
342 beginchar("L",flu_width#,flu_height#,0);
343 currentpicture:=currentpicture+flower_y;
344 currentpicture:=currentpicture reflectedabout((0,.5[0,h]),(1,.5[0,h]));
345 endchar;
346
347 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
348
349 "Flipped right flower--matches K";
350 beginchar("M",flu_width#,flu_height#,0);
351 currentpicture:=currentpicture+flower_x;
352 currentpicture:=currentpicture reflectedabout((0,.5[0,h]),(1,.5[0,h]));
353 endchar;
354
355 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
356
357 "DLA satelite dish";
358 beginchar("I",a#,b#,0);
359 numeric zero; zero=0;
360 % define the coordinates we will work with here
361 z1=origin; z2=(a,zero); z3=(a,b/5); z4=(zero,b/5);
362 x5=3/10(x2-x1); y5=y4=y6; x6=7/10(x2-x1);
363 x7=4/10(x2-x1); y7=y8=y9=3/10(b); x8=6/10(x2-x1);
364 x9=x10=1/2(x2-x1);
365 x11=1/10(x2-x1); y11=9/10(b); x12=3/10(x2-x1);
366 y12=.53(b); x13=9/10(x2-x1); y13=5/10(b);
367 y10=4.5/10(b);
368
369 % draw the bottom platform of the dish
370 pickup pensquare xscaled .5pt yscaled .5pt
371 filldraw z1--z2--z3--z4--cycle;
372 % draw the base of the dish, which sits on top of the bottom platform
373 pickup penrazor;
374 filldraw z5--z7--z8--z6--cycle;
375 % draw the arm holding the dish, which sits on the base of the dish
376 pickup penrazor xscaled .5pt;
377 draw z9--z10;
378 % draw the dish now
379 pickup pencircle xscaled .5pt yscaled .5pt;
380 draw z11..z12..z13;
381 % dish mod, complete the dish top
382 % draw z11--z13;
383 labels(range 1 thru 13);
384 endchar;
385
386 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
387
388 "Left flouron";
389 beginchar("E",flu_width#,flu_height#,0);
390 pickup pencircle;
391 x1=.23w; x2=.10w; x3=.05w; x4=.10w; x5=.19w;
392 x6=.25w; x7=.26w; x8=.20w; x9=.22w; x10=.26w;
393 x11=.48w; x12=.62w; x13=.71w; x14=.84w; x15=.90w;
394 x16=.97w; x17=.93w; x18=.84w;
395 y1=.07h; y2=.07h; y3=.33h; y4=.57h; y5=.65h;
396 y6=.61h; y7=.53h; y8=.55h; y9=.75h; y10=.80h;
397 y11=.67h; y12=.56h; y13=.53h; y14=.55h; y15=.60h;
398 y16=.80h; y17=.92h; y18=.87h;
399 penpos1(thinish,270); penpos2(thinish,225);
400 penpos3(thickish,180); penpos4(thinish,135);
401 penpos5(thinish,90); penpos6(thinish,45);
402 penpos7(thinish,0); penpos8(thinish,225);
403 penpos9(thinish,135); penpos10(thinish,90);
404 penpos11(thinish,45); penpos12(thinish,45);
405 penpos13(thinish,90); penpos14(thinthick,135);
406 penpos15(thinthick,135); penpos16(thinthick,180);
407 penpos17(thinish,225); penpos18(thinish,270);
408 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..z9e..z10e..z11e..z12e..
409 z13e..z14e..z15e..z16e..z17e..z18e;
410 penlabels(range 1 thru 18);
411 holdit:=currentpicture;
412 endchar;
413
414 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
415
416 "Right flouron";
417 beginchar("F",flu_width#,flu_height#,0);
418 currentpicture:=currentpicture+holdit;
419 % currentpicture:=currentpicture reflectedabout((.5[l,r],1),(.5[l,r],0));
420 currentpicture:=currentpicture reflectedabout((.5[0,0],1),(.5[0,0],0));
421 currentpicture:=currentpicture shifted (w,0);
422 holdem:=currentpicture;
423 endchar;
424
425 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
427 "Flipped left flouron--matches F";
428 beginchar("G",flu_width#,flu_height#,0);
429 currentpicture:=currentpicture+holdem;
430 currentpicture:=currentpicture reflectedabout((0,.5[0,h]),(1,.5[0,h]));
431 endchar;
432
433 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
434
435 "Flipped right flouron--matches E";
436 beginchar("H",flu_width#,flu_height#,0);
437 currentpicture:=currentpicture+holdit;
438 currentpicture:=currentpicture reflectedabout((0,.5[0,h]),(1,.5[0,h]));
439 endchar;
440
441 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
442
443 "Check mark";
444 beginchar("D",check_width#,check_height#,check_depth#);
445 pickup pencircle;
446 y1=.4h; y2=.15h; y3=.85h;
447 x1l=0+eps; x2=1/3w; x3=.85w;
448 penpos1(dash,45); penpos2(dash,90); penpos3(dash,170);
449 penstroke z1e--z2e--z3e;
450 penlabels(1,2,3);
451 endchar;
452
453 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
454
455 "Square (filled) with dots border design";
456 beginchar("C",triangle_size#,triangle_size#,0);
457 x1=x3=good.x(1/2triangle_size);
458 x2=good.x(1/10triangle_size);
459 x4=good.x(9/10triangle_size);
460 x5=x6=good.x(3/10triangle_size);
461 x7=x8=good.x(7/10triangle_size);
462 x9=x10=good.x(2/10triangle_size);
463 x12=x11=good.x(8/10triangle_size);
464
465 y1=good.y(1/10triangle_size);
466 y9=y12=good.y(2/10triangle_size);
467 y5=y8=good.y(3/10triangle_size);
468 y2=y4=good.y(1/2triangle_size);
469 y6=y7=good.y(7/10triangle_size);
470 y10=y11=good.y(8/10triangle_size);
471 y3=good.y(9/10triangle_size);
472
473 pickup razorpen;
474 fill z1..z5..z2 & z2..z6..z3 & z3..z7..z4 & z4..z8..z1..cycle;
475 pickup bigdotpen;
476 drawdot z9; drawdot z12; drawdot z10; drawdot z11;
477
478 labels(range 1 thru 12);
479
480 endchar;
481
482 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
483
484 "Square (unfilled) with dots border design";
485 beginchar("B",triangle_size#,triangle_size#,0);
486 x1=x3=good.x(1/2triangle_size);
487 x2=good.x(1/10triangle_size);
488 x4=good.x(9/10triangle_size);
489 x5=x6=good.x(3/10triangle_size);
490 x7=x8=good.x(7/10triangle_size);
491 x9=x10=good.x(2/10triangle_size);
492 x12=x11=good.x(8/10triangle_size);
493
494 y1=good.y(1/10triangle_size);
495 y9=y12=good.y(2/10triangle_size);
496 y5=y8=good.y(3/10triangle_size);
497 y2=y4=good.y(1/2triangle_size);
498 y6=y7=good.y(7/10triangle_size);
499 y10=y11=good.y(8/10triangle_size);
500 y3=good.y(9/10triangle_size);
501
502 pickup bigpen;
503 draw z1..z5..z2;
504 draw z2..z6..z3;
505 draw z3..z7..z4;
506 draw z4..z8..z1;
507
508 pickup bigdotpen;
509 drawdot z9; drawdot z12; drawdot z10; drawdot z11;
510 pickup lildotpen;
511 erase drawdot z9; erase drawdot z12; erase drawdot z10;erase drawdot z11;
512
513 labels(range 1 thru 12);
514
515 endchar;
516
517 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
518
519 "Z border design";
520 beginchar("Z",glyph_width#,glyph_height#,0);
521 pickup bigger;
522 % define our x values for the border design
523 x1=x6=x7=good.x(glyph_width);
524 x4=6/8good.x(glyph_width);
525 x8=2/8good.x(glyph_width);
526 x2=x3=x5=0;
527 % design our y values for the border design
528 y1=y2=0;
529 y7=y8=1/3good.y(glyph_height);
530 y3=y4=2/3good.y(glyph_height);
531 y5=y6=good.y(glyph_height);
532
533 draw z5--z6--z7--z8;
534 draw z1--z2--z3--z4;
535 %draw bot z5--z3;
536 %draw top z1--z7;
537
538 labels(range 1 thru 8);
539
540 endchar;
541
542 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
543
544 "S border design";
545 beginchar("S",glyph_width#,glyph_height#,0);
546 pickup bigger;
547 % define our x values for the border design
548 x1=x6=x7=0;
549 x2=x3=x8=good.x(glyph_width);
550 x4=good.x(2/8glyph_width);
551 x5=good.x(6/8glyph_width);
552
553 y1=y2=0;
554 y5=y6=good.y(1/3glyph_height);
555 y3=y4=good.y(2/3glyph_height);
556 y7=y8=good.y(glyph_height);
557
558 draw z1--z2--z3--z4;
559 draw z5--z6--z7--z8;
560 %draw top z1--z6;
561 %draw bot z8--z3;
562 cullit;
563
564 labels(range 1 thru 8);
565
566 endchar;
567
568 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
569
570 "Overlapping thick\thin line border design--- character 1 (top-left)";
571 beginchar("a",uniform_square#,uniform_square#,0);
572
573 x1=x2=good.x(1/10uniform_square);
574 x3=x4=good.x(4/10uniform_square);
575 x5=x8=good.x(uniform_square);
576 x6=x7=good.x(2/10uniform_square);
577
578 y1=y6=good.y(0);
579 y2=y3=good.y(6/10uniform_square);
580 y7=y8=good.y(8/10uniform_square);
581 y4=y5=good.y(9/10uniform_square);
582
583 pickup chunkypen;
584 draw z1--z2--z3--z4--z5;
585 pickup bigpen;
586 draw z6--z7--z8;
587 p1:=currentpicture;
588
589 labels(range 1 thru 8);
590
591 endchar;
592
593 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
594
595 "Overlapping thick\thin line border design--- character 2 (top-middle)";
596 beginchar("b",uniform_square#,uniform_square#,0);
597
598 x1=x3=good.x(0);
599 x2=x4=good.x(uniform_square);
600
601 y1=y2=good.y(9/10uniform_square);
602 y3=y4=good.y(8/10uniform_square);
603
604 pickup chunkypen;
605 draw z1--z2;
606 pickup bigpen;
607 draw z3--z4;
608 p2:=currentpicture;
609
610 labels(1,2,3,4);
611
612 endchar;
613 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
614
615 "Overlapping thick\thin line border design--- character 3 (top-right)";
616 beginchar("c",uniform_square#,uniform_square#,0);
617
618 x1=x6=good.x(0);
619 x2=x3=good.x(6/10uniform_square);
620 x7=x8=good.x(8/10uniform_square);
621 x4=x5=good.x(9/10uniform_square);
622
623 y1=y2=good.y(9/10uniform_square);
624 y6=y7=good.y(8/10uniform_square);
625 y3=y4=good.y(6/10uniform_square);
626 y5=y8=good.y(0);
627
628 pickup chunkypen;
629 draw z1--z2--z3--z4--z5;
630 pickup bigpen;
631 draw z6--z7--z8;
632 p3:=currentpicture;
633
634 labels(range 1 thru 8);
635
636 endchar;
637
638 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
639
640 "Overlapping thick\thin line border design--- character 4 (middle-left)";
641 beginchar("d",uniform_square#,uniform_square#,0);
642
643 x1=x2=good.x(1/10uniform_square);
644 x3=x4=good.x(2/10uniform_square);
645 y1=y3=good.y(0);
646 y2=y4=good.y(uniform_square);
647
648 pickup chunkypen;
649 draw z1--z2;
650 pickup bigpen;
651 draw z3--z4;
652 p4:=currentpicture;
653
654 labels(1,2,3,4);
655
656 endchar;
657
658 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
659
660 "Overlapping thick\thin line border design--- character 5 (middle-right)";
661 beginchar("e",uniform_square#,uniform_square#,0);
662 currentpicture:=currentpicture + p4;
663 currentpicture:=currentpicture reflectedabout((.5[0,0],0),(.5[0,0],1));
664 endchar;
665
666 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
667
668 "Overlapping thick\thin line border design--- character 6 (bottom-left)";
669 beginchar("f",uniform_square#,uniform_square#,0);
670 currentpicture:=currentpicture + p1;
671 currentpicture:=currentpicture
672 reflectedabout((0,.5[0,uniform_square]),(1,.5[0,uniform_square]));
673 endchar;
674
675 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
676
677 "Overlapping thick\thin line border design--- character 7 (bottom-middle)";
678 beginchar("g",uniform_square#,uniform_square#,0);
679 currentpicture:=currentpicture + p2;
680 currentpicture:=currentpicture
681 reflectedabout((0,.5[0,uniform_square]),(1,.5[0,uniform_square]));
682 endchar;
683
684 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
685
686 "Overlapping thick\thin line border design--- character 8 (bottom-right)";
687 beginchar("h",uniform_square#,uniform_square#,0);
688 currentpicture:=currentpicture + p3;
689 currentpicture:=currentpicture
690 reflectedabout((0,.5[0,uniform_square]),(1,.5[0,uniform_square]));
691 endchar;
692 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
693 bye