summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-5-19.mp
blob: 8530e6051a6bedf9b0128f87165ffd0456ed9da8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% --- start of displayed preamble in the book ---
input metaobj
% Circles produced as before

% --- end of displayed preamble in the book ---

  newCircle.a(btex start etex);
  newCircle.b(btex end etex);
  a.c=origin;
  b.c-a.c=(3cm,1cm);

defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
ncangles(a)(b) "angleA(0)", "angleB(50)",
  "linecolor(blue)","linewidth(1pt)",
  "armA(3cm)","armB(2cm)";
drawObj(a,b);
endfig;
end;