summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/metapost.asy
blob: 6908fd750d2005a61a645749a621f8d34af42e5c (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;
}