Re: [NTG-context] Why do I see the outline of the green box in this METAPOST code?

2020-03-16 Thread Taco Hoekwater
Move the fills to within the image(), and build it up in stacking order. > On 14 Mar 2020, at 16:29, Gerben Wierda wrote: > > Code: > > vardef Foo(expr w, h, lh) = >save pth; path pth; >save pthtwo; path pthtwo; >save pththree; path pththree; >save pic; picture pic; >pth

[NTG-context] Why do I see the outline of the green box in this METAPOST code?

2020-03-14 Thread Gerben Wierda
Code:vardef Foo(expr w, h, lh) =   save pth; path pth;   save pthtwo; path pthtwo;   save pththree; path pththree;   save pic; picture pic;   pth = fullsquare xysized (w, h);   pthtwo = fullsquare xysized (2*lh, lh) shifted (-w/2, 2.5*lh);   pththree = fullsquare xysized (2*lh, lh) shifted (-w/2,