[Pkg] The Trunk: Graphics-fbs.162.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Dec 17 22:07:02 UTC 2010

Nicolas Cellier uploaded a new version of Graphics to project The Trunk:

==================== 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') -----
  	"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 Packages mailing list