[squeak-dev] The Trunk: Morphic-mt.1744.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 13 12:36:15 UTC 2021


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1744.mcz

==================== Summary ====================

Name: Morphic-mt.1744
Author: mt
Time: 13 April 2021, 2:36:03.188381 pm
UUID: 4f11bc72-a3e8-f641-bccd-13f087ce6464
Ancestors: Morphic-nice.1743, Morphic-ct.1528

Merges Morphic-ct.1528 with extended commentary.

=============== Diff against Morphic-nice.1743 ===============

Item was added:
+ ----- Method: Morph>>pointAtFraction: (in category 'geometry') -----
+ pointAtFraction: relativePoint
+ 	"For values between 0.0 and 1.0, answers a point that lies within the receiver's bounds. This method is a more general form of #center (meaning 0.5 at 0.5), #topLeft (meaning 0.0 at 0.0), #bottomCenter (meaning 0.5 at 1.0), etc. If can be useful for layout policies that want to position or resize their submorphs by fraction."
+ 
+ 	^ self bounds pointAtFraction: relativePoint!



More information about the Squeak-dev mailing list