MorphicTransform offset: 0 angle: 0 scale: 10.0.
aCanvas
fillRectangle: (Rectangle origin: 10@10 extent: 10@10)
color: Color red.
the result looks good although I don't understand where the coordinates are translated. To me it appears that the way it goes is from Canvas to GrafPort and I didn't find the location where TransformMorph comes into play. I'm trying to figure that out because I cannot use Float coordinates in my transform morph. Doing in TestMorph>>#drawOn something like
aCanvas fillRectangle: (Rectangle origin: 0.9@0.9 extent: 1@1)
color: Color green.
I get two problems. Basically the Rectangle is truncated to Ints before the transform. Additionally in this particular case the rectangle is not displayed at all. For 0.89@.089 I can see it truncated at origin 0@0 but at 0.9@0.9 it just disappears. Same goes for 0.63 and other values.
And I don't know how to debug morphic because using breakpoints is too dangerous while it is in stepping mode.
thanks,
Norbert