19 Oct
2006
19 Oct
'06
7:58 a.m.
Peter Rolf wrote:
Hi Taco,
thanks for the answer. Sadly I doesn't work here; all drawn lines are still fixed to 1pt. Even my own defined pen (upen) in draw_hline is completely ignored.
I was somewhat wrong before. The problem in your case is not the grouping but that you are scaling *everything* by u. Try this: set u back to 1, then add a second MPpage like this: \startMPpage u:= 2; fill_hline(20,5,5,red) ; fill_vline(20,5,5,red) ; draw_vline(20,5,25,blue) ; draw_hline(20,25,5,blue) ; draw_frame(50,50,0,0,black) ; \stopMPpage It should be clear from the output pages what happens. Greetings, Taco