On 2/20/2021 1:19 PM, Pablo Rodriguez wrote:
On 2/20/21 12:59 PM, Pablo Rodriguez wrote:
[...] Which is the right way to close the path or what am I missing?
control points that determine the way curves are made
I see that cycle is the way to go:
indeed
\starttext \startmakeup[page][align=middle] \dontleavehmode \startMPcode{doublefun} path p ; p := (0,0)..(3,3.5)..(9,-3.5)..(12,0)..(9,3.5)..(3,-3.5)..(0,0); draw p xsized .9TextWidth withcolor .625red; path p ; p := (0,0)..(3,3.5)..(9,-3.5)..(12,0)..(9,3.5)..(3,-3.5)..cycle; draw p xsized .9TextWidth ; \stopMPcode \stopmakeup \stoptext
Closing without cycle gives an asymetrical path. I’d rather say it is wrong, but this is all Greek to me.
On the other side, I’m afraid that cycle has problems with lmt_followtext. could be, i'm playing a bit with the converter and introduced a issue but that will be fixed in the next upload
(i want the metafun manual to run ok in lmtx, also performance wise, read: faster) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------