> Am 13.05.2021 um 18:36 schrieb Aditya Mahajan <adit...@umich.edu>:
> 
>> 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

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to