Debian Codegraph @

texmf-dist/source/metafont/roex/roexsamp/ro-01.mf

raw
1 %%%%
2 %%%% This file belongs to the ROEX package.
3 %%%%
4 %%% draw write_preamble write_postamble find_BB set_BB fill_C draw_C
5 %%% draw fix_fill_cmyk fix_draw_cmyk
6 % RO-01.MF, ``PROPELLER'':
7 % Removing overlaps applied to a circle and three rectangles; rectangles
8 % are positively oriented, circle is negatively oriented and has weight |2|.
9 % ---
10 input mftoeps; eps_mode_setup; input roex; tracingremoving:=1;
11 % ---
12 beginchar("0",in#,in#,0);
13 path A,B,C,D;
14 A=unitsquare xscaled 1/5w yscaled h shifted (2/5w,0);
15 B=A rotatedaround((1/2w,1/2h), 60);
16 C=B rotatedaround((1/2w,1/2h), 60);
17 D=reverse fullcircle scaled 3/4w shifted (1/2w,1/2h);
18 remove_overlap (A,B,C,D) ((4,2)) R;
19 find_BB make_list(1,R.num) R;
20 write_preamble jobname;
21 fill_C make_list(1,R.num) R;
22 write_postamble;
23 endchar;
24 end.
25 %%\end
26