summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-4-6.mp
blob: b2f86567b448c4f496476c65b6b6f14a133b5a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
% --- start of displayed preamble in the book ---
input boxes
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
boxjoin(a.se=b.nw-(10,-10));
boxit.one("One");  boxit.two("Two");
drawunboxed(one,two);
drawarrow one.n{dir 45}..two.n;
endfig;
end;