Le 20/09/2013 16:23, Norbert Hartl a écrit : > > I figured out how to do it. Basically it is exactly what I need: > transform geo coordinates to screen coordinates. But then LineMorph does > not seem to like a borderWidth below 1. It is a drag. I think I could > burn several days on this crap. Better start doing something different. >
I will avoid adding submorph for this situation. I will make a specific grid morph with its own drawOn: method, then add both the linemorph and gridmorph on a pasteupmorph. Or alternatively I will extend linemorph and add a drawGridOn: method, so no need for a specific morph or to add submorph. And yes you have to take in consideration the all coordinates origin is top left of the display. Hilaire -- Dr. Geo http://drgeo.eu -- Dr. Geo http://drgeo.eu
