summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-12.mp
blob: b4fe29c832b0841fd8ad8fa3651f43e2c3941dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
% --- 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.e=A.w+(-20,0);
drawObjects(A,B);
link(inheritance)(B.e--A.w);
endfig;
end;