13 May
2021
13 May
'21
4:55 p.m.
Am 13.05.2021 um 18:36 schrieb Aditya Mahajan
: Now I want to draw that path several times.
If I understand it right, I can’t put that into "sketchdraw" because that leaves the end open for path additions like "withcolor".
A slightly different approach is needed. See attached. I also added a bit a error protection in case someone sets sketch_passes to be negative by mistake.
Thank you so much!
It may be interesting to rewrite these macros using the new key-value interface for metapost, so that something like this works:
\sketchdraw[amount=3bp, passes=5, transparency=yes] fullsquare scaled 1cm withcolor red;
Yes, I just read the luametafun manual and will try a few things – but this is still over my head. Hraban