[NTG-context] Some macros (Metafun)

Fabrice Couvreur fabrice1.couvreur at gmail.com
Fri Aug 9 10:57:14 CEST 2019


Hello,
In the Metafun manual, Hans uses macros like drawpath p ; drawcontrollines
p ; drawpoints p ; drawcontrolpoints p ...
How to use them in a document ?
Where to find source codes ?
For example, the following code does not work :

\starttext
\startuseMPgraphic{path}
   path p ; p := (1cm,1cm)--(1.5cm,1.5cm)..(2cm,0cm)..cycle ;
\stopuseMPgraphic

\startMPcode
  p := p .. cycle ; swappointlabels := true ;
  drawpath p ;
\stopMPcode
\stoptext


Thank you
Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190809/47606f81/attachment.html>


More information about the ntg-context mailing list