MorphicEventDispatcher>>dispatchDefault:with:

Eddie Cottongim cottonsqueak at earthlink.net
Sun Aug 17 18:59:35 UTC 2003


From: "Andreas Raab" <andreas.raab at gmx.de>
Sent: Sunday, August 17, 2003 6:45 AM
>Huh? To give you the simplest counter-example, draw three sketches in the
>world, rotate each of them and then show me where the same transform is
used
>here.

s1 := SketchMorph fromFile: 'e:\images\hat12.jpg'.
s1 openInWorld.
s1 extent: 100 at 100; heading: 25.
s2 := SketchMorph fromFile: 'e:\images\hat12.jpg'.
s2 openInWorld.
s2 extent: 100 at 100; heading: -15.
w := s1 world.

t1 := s1 owner "a TransformationMorph(1305) on a SketchMorph(269)"
t2 := s2 owner "a TransformationMorph(1528) on a SketchMorph(1126)"
transform1 := t1 transformedFrom: w "an IdentityTransform"
transform2 := t2 transformedFrom: w "an IdentityTransform"
transform1 = transform2 "true"









More information about the Squeak-dev mailing list