summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/metapost.asy
blob: 525ffe755e1da0ff7482f8f05723eab349b6c43d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// MetaPost compatibility routines

path cuttings;

path cutbefore(path p, path q) 
{
  slice s=firstcut(p,q);
  cuttings=s.before;
  return s.after;
}

path cutafter(path p, path q) 
{
  slice s=lastcut(p,q);
  cuttings=s.after;
  return s.before;
}