[squeak-dev] The Trunk: Graphics-mt.404.mcz

David T. Lewis lewis at mail.msen.com
Fri Dec 7 15:16:38 UTC 2018


On Fri, Dec 07, 2018 at 04:17:49AM -0600, marcel.taeumel wrote:
> We could tread the receiver as extent in this case and see how it works out?
> 
> (50 at 50 center: 5 at 5) = (Rectangle center: 5 at 5 extent: 50 at 50).

That definitely reads more clearly, but in Point>>corner: and Point>>center:
the receiver is used to establish the position of the new rectangle, and
the argument establishes the size. It may be best to keep that convention.

Dave



More information about the Squeak-dev mailing list