The Trunk: Graphics-mt.448.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-mt.448.mcz

commits-2
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.448.mcz

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

Name: Graphics-mt.448
Author: mt
Time: 13 April 2021, 5:29:12.533381 pm
UUID: c614cbd7-dfc4-e94f-a47a-145e43d22a16
Ancestors: Graphics-mt.447, Graphics-ct.421

Merges Graphics-ct.421

Note that this message aligns with #atRandom, #atRandom:, and #random in other object kinds.

=============== Diff against Graphics-mt.447 ===============

Item was added:
+ ----- Method: Rectangle>>randomPoint (in category 'random') -----
+ randomPoint
+
+ ^ self randomPoint: ThreadSafeRandom value!

Item was added:
+ ----- Method: Rectangle>>randomPoint: (in category 'random') -----
+ randomPoint: aGenerator
+ "Answers a random point that lies within the receiver."
+
+ ^ self pointAtFraction: aGenerator next @ aGenerator next!