Hi Wolfgang
I thought using the metapost variable tcircle as a pen would work but for some reason it does not give rounded corners for the square in the first MPpage. Not a solution unfortunately.
Best Wishes
Keith
path Tcircle; Tcircle := tcircle;
draw Tcircle scaled 20 shifted(0,24) withcolor red;
pen TcirclePen ; TcirclePen := makepen Tcircle ;
draw ((0,1) -- (1,1)) scaled 10 withpen TcirclePen shifted (12,12) withcolor red;
draw ((0,0) -- (0,1)) scaled 10 withpen TcirclePen rotated 90 shifted (12,12) withcolor red;
draw ((1,0) -- (1,1)) scaled 10 withpen TcirclePen rotated 270 shifted (12,12) withcolor red;
draw ((0,0) -- (1,0)) scaled 10 withpen TcirclePen rotated 180 shifted (12,12) withcolor red;