summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/labelbox.asy
blob: cd61a9da69cd55a59e836b6ea0d8fc2329a87448 (plain)
1
2
3
4
5
6
7
8
9
10
11
size(0,100);
real margin=2mm;
pair z1=(0,1);
pair z0=(0,0);

object label1=draw("small box",box,z1,margin);
object label0=draw("LARGE ELLIPSE",ellipse,z0,margin);

add(new void(frame f, transform t) {
    draw(f,point(label1,SW,t){SW}..{SW}point(label0,NNE,t));
  });