[Pkg] The Trunk: Graphics-mt.404.mcz
commits at source.squeak.org
commits at source.squeak.org
Sun Dec 2 10:50:20 UTC 2018
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.404.mcz
==================== Summary ====================
Name: Graphics-mt.404
Author: mt
Time: 2 December 2018, 11:49:55.694325 am
UUID: c61bf172-8ce2-2b42-9ded-3b10fa30cf8d
Ancestors: Graphics-pre.403
Adds an infix version for Rectangle >> #center:extent: for convenience.
The name #inflate: is subject to discussion. :-)
=============== Diff against Graphics-pre.403 ===============
Item was added:
+ ----- Method: Point>>inflate: (in category 'converting') -----
+ inflate: aPoint
+ "Answer a Rectangle whose center is the receiver and whose extent is
+ aPoint. This is one of the infix ways of expressing the creation of a
+ rectangle."
+
+ ^Rectangle center: self extent: aPoint!
More information about the Packages
mailing list