[squeak-dev] The Inbox: Graphics-fbs.162.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Dec 17 09:22:36 UTC 2010


A new version of Graphics was added to project The Inbox:
http://source.squeak.org/inbox/Graphics-fbs.162.mcz

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

Name: Graphics-fbs.162
Author: fbs
Time: 17 December 2010, 9:22:36.618 am
UUID: 458866b2-2481-004f-a041-74d79335ad23
Ancestors: Graphics-nice.161

Fix failing RectangleTest>>testRoundingAfterHalfPixelTranslation.

Rectangle rounded rounds the origin, and minimises the change in extent the same by rounding the extent rather than rounding the corner.

=============== Diff against Graphics-nice.161 ===============

Item was changed:
  ----- Method: Rectangle>>rounded (in category 'truncation and round off') -----
  rounded
  	"Answer a Rectangle whose origin and corner are rounded."
  
+ 	^Rectangle origin: origin rounded extent: self extent rounded!
- 	^Rectangle origin: origin rounded corner: corner rounded!




More information about the Squeak-dev mailing list