File: 3-3-3.mp

package info (click to toggle)
texlive-doc 2005.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 125,100 kB
  • ctags: 12,558
  • sloc: xml: 24,267; perl: 14,394; makefile: 727; sh: 324; lisp: 276; 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;