File: 3-3-3.mp

package info (click to toggle)
texlive-doc 2012.20120611-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 250,664 kB
  • sloc: xml: 18,901; perl: 13,380; makefile: 931; lisp: 394; sh: 313; awk: 205; java: 159; sed: 4
file content (19 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
input boxes
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
boxjoin(a.n=b.s-(20,60));
boxit.one("One");
circleit.two("Two");
drawboxes(one,two);
boxjoin();
boxit.three("Three");
three.w=one.e+(20,0);
fill bpath three withcolor green;
draw bpath three;
draw pic(three) withcolor red;
drawarrow one.c--two.c
 cutbefore bpath one
 cutafter bpath two;
endfig;
end;