On Fri, 20 Sep 2013, Norbert Hartl 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?
I had this problem to while teaching pupils (grade 10) Smalltalk as their first 'real' programming language. We were embedding EllipseMorphs into a PasteUpMorph. Embedded morphs know their owner, hence self owner position might be the desired offset. Markus