diff options
Diffstat (limited to 'Master/texmf-dist/asymptote/metapost.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/metapost.asy | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/asymptote/metapost.asy b/Master/texmf-dist/asymptote/metapost.asy new file mode 100644 index 00000000000..525ffe755e1 --- /dev/null +++ b/Master/texmf-dist/asymptote/metapost.asy @@ -0,0 +1,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; +} + + |