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
|
beginthaichar("DAW DEH!K", "B4", "dk/de/dd", 2thick# + jutout# + normwd#, normht#, 0 );
penpos1(thin, 180);
penpos2(thin, 90);
penpos3(thin, 0);
penpos4(thin, 270);
penpos5(thin, 135);
penpos6(thick, 0);
penpos7(thick, 0);
penpos8(thin, 0);
penpos9(thin, 270);
penpos10(thick, 180);
penpos11(thick, 180);
x1r = x3r + dia;
x2 = x4 = 1/2[x1, x3];
x2 = 1/2[leftmost, rightmost];
x6l = x7l = x8l + 1/2(thick - thin);
lft x8l = leftmost;
x9 = 1/2[x8, x10];
x10l = x11l = rightmost;
y1 = y3 = 1/2[y2, y4];
y4r = y2r + dia;
y3l = 2/3[0, y9r];
bot y6 = bot y11 = 0;
y7 = y2 - thick;
y8 = y10 = y9r - curveht;
top y9l = normht + overshoot;
z5r = 1/2[z1, z3] + dia/2 * dir 315;
filldraw z1r{down} .. z2r{left} .. z3r{up} .. z4r{right} .. z1r{down}
.. {dir 215}z5r --- z6l --
z6r --- z5l{dir 45} .. z1l{up} .. z4l{left} .. z3l{down} .. z2l{right}
.. z1l{up} -- cycle;
filldraw z6l{up} --- z7l .. z8l{up} .. z9l{right} .. z10l --- z11l
-- z11r --- z10r .. z9r{left} .. z8r{down} .. z7r --- {down}z6r
-- cycle;
endthaichar;
|