[squeak-dev] The Trunk: Graphics-ct.419.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Apr 13 12:18:57 UTC 2021
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ct.419.mcz
==================== Summary ====================
Name: Graphics-ct.419
Author: ct
Time: 20 September 2019, 7:45:53.388726 pm
UUID: 5deebfce-0321-9645-aebd-0b4bfb428259
Ancestors: Graphics-nice.417
Add Rectangle>>#pointAtFraction:
Example: [(5 at 5 rect: 10 at 20) pointAtFraction: 0.5 at 1] will give you 7.5 @ 20.
dep:feat-ol
=============== Diff against Graphics-nice.417 ===============
Item was added:
+ ----- Method: Rectangle>>pointAtFraction: (in category 'rectangle functions') -----
+ pointAtFraction: relativePoint
+
+ ^ self origin + (self extent * relativePoint)!
More information about the Squeak-dev
mailing list
|