The Inbox: Graphics-fbs.162.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Graphics-fbs.162.mcz

commits-2
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!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-fbs.162.mcz

Frank Shearar
On 2010/12/17 09:22, [hidden email] wrote:

> 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 ===============

I confess to being a bit lazy here: the failing test didn't have a
Mantis report, and I didn't make one. Ditto for my FileUrl change.

frank