summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-5-7.mp
blob: 3f9b782f452c9d0d2f76a63f7db1bfd3ab2a400c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% --- start of displayed preamble in the book ---
input metaobj
newCircle.a(btex start etex);
newCircle.b(btex end etex);
a.c=origin;
b.c-a.c=(3cm,1cm);
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
ncline(a)(b);  drawObj(a,b);
endfig;
end;