Am 20.09.2013 um 12:24 schrieb Igor Stasenko <siguctua@gmail.com>:
On 20 September 2013 12:15, Norbert Hartl <norbert@hartl.name> wrote: Next try. I may do something stupid but it appears that all morphs draw on the same coordinate system. Meaning that every Morph that will draw something at 0@0 will put it in the top left corner of the image displayed. I would expect that a morph that is positioned somewhere provides a canvas where 0@0 is relative to the position of the morph. If coordinates are absoulte how can I delegate work to sub components and having them calculate the offsets properly?
Welcome to club.
To ease the pain, take a look at TransformMorph.
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. Norbert