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.

10<br />

This time we used the path:<br />

(1.5cm,1.5cm)..(2cm,0cm)..(1cm,1cm)<br />

When you connect points by a smooth curve, METAPOST will calculate the control points itself,<br />

unless you specify one or more of them.<br />

This path is specified as:<br />

(1cm,1cm)..(1.5cm,1.5cm)..controls (3cm,2cm)..(2cm,0cm)<br />

In this path, the second and third point share a control point. Watch how the curve is pulled in<br />

that direction. It is possible to pull a bit less by choosing a different control point:<br />

(1cm,1cm)..(1.5cm,1.5cm)..controls (2.75cm,1.25cm)..(2cm,0cm)<br />

Now we get:<br />

We can also specify a different control point for each connecting segment.<br />

This path is defined as:<br />

(1cm,1cm)..controls (.5cm,2cm) and (2.5cm,2cm)..(2cm,.5cm)<br />

Welcome to MetaPost Paths

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

Saved successfully!

Ooh no, something went wrong!