29.11.2012 Views

MetaFun - Pragma ADE

MetaFun - Pragma ADE

MetaFun - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

0<br />

1<br />

0<br />

2<br />

2<br />

1<br />

"(z0..z1..z2..z3) cutafter z2"<br />

"(z0..z1..z2..z3) cutbefore z1"<br />

Here is a somewhat silly way of accomplishing the same thing, but it is a nice introduction to<br />

METAPOST's point operation. In order to use this command effectively, you need to know how<br />

many points make up the path.<br />

1<br />

"(z0..z1..z2..z3) cutbefore point 2 of (z0..z1..z2..z3)"<br />

0<br />

As with subpath, you can use fractions to specify the time on the path, although the resulting<br />

point is not necessarily positioned linearly along the curve.<br />

Constructing paths Welcome to MetaPost<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!