| 1 |
min_bow:= internote; |
| 2 |
max_bow:=3internote; |
| 3 |
slope:=17.5/100; |
| 4 |
|
| 5 |
code=-1; |
| 6 |
|
| 7 |
for iht=1 upto 16: |
| 8 |
for iwd=0 upto 15: |
| 9 |
beginchar(incr code, 0, 0, 0); |
| 10 |
mw#:=(minwidth+iwd*delwidth)*pt#; |
| 11 |
define_pixels(mw); |
| 12 |
x1 = y1= 0; x3= mw; y3= 2y2'= iht*internote; x2'= .5x3; |
| 13 |
mheight:=y3; |
| 14 |
z2-z2'= whatever*dir(angle(z3-z1)+90); |
| 15 |
my_bow:=min(max_bow, slope*mw); |
| 16 |
my_bow:=max(my_bow, min_bow); |
| 17 |
z1'=(z1-(0,my_bow)) rotated angle(z3-z1); |
| 18 |
(z1'-z2)=whatever*(z1-z2'); |
| 19 |
penpos1(.15thick,(angle(z3-z1)+90)); |
| 20 |
penpos2(thick,(angle(z3-z1)+90)); |
| 21 |
penpos3(.15thick,(angle(z3-z1)+90)); |
| 22 |
penstroke (flex(z1e,z2e,z3e)); |
| 23 |
%{{{ |
| 24 |
currentpen:= pencircle; |
| 25 |
draw (flex(z1,z2,z3));% draw z1--z3; draw z2'--z2--z1'--z1; |
| 26 |
%}}} |
| 27 |
currentpicture:=currentpicture t; |
| 28 |
p:=currentpicture; |
| 29 |
currentpicture:=p T; |
| 30 |
endchar; |
| 31 |
|
| 32 |
endfor |
| 33 |
endfor |
| 34 |
end |