8 def draw_bracket( expr height_sharp, width_sharp) =
9 save alpha, height, p, width, thin, thick;
10 height# := height_sharp;
11 width# := width_sharp;
13 beginchar(incr code, width#, height#/2, height#/2);
15 define_pixels (height, width);
16 thin = 2 stafflinethickness;
19 pickup pencircle scaled thin;
21 top y1 = height/2 + thick + thin;
29 bot y4 = y1 - thick + thin/2;
32 z5 = z1 + (width, 3/4interline);
35 % strange turning path when invoked via MakeTeXTFM...?
36 % mf "\\mode:=ljfour; mag:=1; scrollmode; input feta-brackets16"
37 z6 = z5 - (0, thin/16);
39 filldraw z5{dir(180+alpha)}..{left}z1--z2--z3..{up}z4{right}
40 ..{dir(alpha)}z6..cycle;
43 addto currentpicture also currentpicture yscaled -1;
48 % for h := staffsize# step 1 pt# until (2 * staffsize#):
49 for h := staffsize# step 1 pt# until (7 * staffsize#):
50 draw_bracket(h, 2interline# );