[BUG][FIX] MorphicTransformFix-nk

Ned Konz ned at bike-nomad.com
Fri Mar 9 22:05:02 UTC 2001


from preamble:

"Change Set:		MorphicTransformFix-nk
Date:			9 March 2001
Author:			Ned Konz

This fixes the problem of incorrect transforms when a
TransformMorph that has a transform that is a pure offset
is the owner of a TransformMorph whose transform is a pure offset.

Here's some workspace code to test with
(sorry about the single quotes):

m _ Morph new openInWorld; position: 100 at 100.
m extent.' 50 at 40'

t _ m transformFrom: m world.
(t localPointToGlobal: m center).' 125 at 120'

f _ m addFlexShell.
t _ m transformFrom: m world.
(t localPointToGlobal: m center).'should be 125 at 120'

ff _ f addFlexShell.
t _ m transformFrom: m world.
(t localPointToGlobal: m center).'should be 125 at 120'

"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MorphicTransformFix-nk.cs.gz
Type: application/octet-stream
Size: 531 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010309/175196f5/MorphicTransformFix-nk.cs.obj


More information about the Squeak-dev mailing list