Taco Hoekwater wrote:
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.
Many thanks Taco! Now I clearly see what happens :) Greetings, Peter
Greetings, Taco
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context