summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-17.mp
blob: 7d2e33d896c371c9e2c2f16e06c8b2155d4ec0c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% --- start of displayed preamble in the book ---
input metauml
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
Class.A("A")()();
Class.B("B")()();
B.sw=A.ne+(20,10);
drawObjects(A,B);
clink(inheritance)(A,B);
endfig;
end;