Hi Hans,
Sorry but I did not see your email.
What is the default color used to draw the path p ?
Thank you.
Le ven. 9 août 2019 à 13:12, Hans Hagen
On 8/9/2019 10:57 AM, Fabrice Couvreur wrote:
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 \starttext
\startMPcode path p ; p := (1cm,1cm)--(1.5cm,1.5cm)..(2cm,0cm)..cycle ; drawpath p ; drawpoints p ; drawpointlabels p ; drawcontrolpoints p ; drawcontrollines p ; \stopMPcode
\stoptext
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________