<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 18, 2020 at 3:38 PM Anton Petrunin = Антон Петрунин <<a href="mailto:anton-petrunin@tuta.io">anton-petrunin@tuta.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">There is a bug with clip that is described here:<br>
<br>
<a href="https://tex.stackexchange.com/questions/558461/" rel="noreferrer" target="_blank">https://tex.stackexchange.com/questions/558461/</a><br>
<br>
here is copy of the text:<br>
<br>
It seems that <br>
<br>
clip currentpicture to p;<br>
<br>
not only clips the picture to `p`, but also sets its the bounds to somewhat random.<br>
<br>
Here is a MWE:<br>
<br>
filenametemplate "%j-%1c.png";<br>
outputformat := "png";<br>
beginfig(1);<br>
save u;<br>
u:=1cm;<br>
<br>
draw (-1,-1)*u--(-10,10)*u--(10,10)*u--cycle withcolor (87, 1mm, -.5bp);<br>
clip currentpicture to (-10,-10)*u--(-10,0)*u--(10,0)*u--(10,-10)*u--cycle;<br>
<br>
endfig;<br>
end<br>
<br></blockquote><div><br></div><div>ok, I will see it. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>