<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 2, 2018 at 2:50 AM <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Marcel Taeumel uploaded a new version of Graphics to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Graphics-mt.404.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/Graphics-mt.404.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Graphics-mt.404<br>
Author: mt<br>
Time: 2 December 2018, 11:49:55.694325 am<br>
UUID: c61bf172-8ce2-2b42-9ded-3b10fa30cf8d<br>
Ancestors: Graphics-pre.403<br>
<br>
Adds an infix version for Rectangle >> #center:extent: for convenience.<br>
<br>
The name #inflate: is subject to discussion. :-)<br></blockquote><div><br></div><div>I don't like inflate: or any of the other suggestions.  Why not have it the other way round so that the extent is the receiver, then one could call it</div><div><br></div><div>     asRectangleCentredAt:</div><div><br></div><div>or some such.  inflate: makes me thing of division by zero because points have no extent.  If you insist on the inflate: way round then intension revealing would be</div><div><br></div><div>    centredRectangleWithExtent:  centredRectangleExtent:</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=============== Diff against Graphics-pre.403 ===============<br>
<br>
Item was added:<br>
+ ----- Method: Point>>inflate: (in category 'converting') -----<br>
+ inflate: aPoint <br>
+       "Answer a Rectangle whose center is the receiver and whose extent is <br>
+       aPoint. This is one of the infix ways of expressing the creation of a <br>
+       rectangle."<br>
+ <br>
+       ^Rectangle center: self extent: aPoint!<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>