[Mono-bugs] [Bug 492299] Graphics.Clear(Color) doesn't work on clipped Graphics

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 11 04:11:10 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=492299

http://bugzilla.novell.com/show_bug.cgi?id=492299#c4


Thomas Goldstein <stifu at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #335800|0                           |1
        is obsolete|                            |

--- Comment #4 from Thomas Goldstein <stifu at free.fr> 2010-01-11 09:11:08 UTC ---
Created an attachment (id=335838)
 --> (http://bugzilla.novell.com/attachment.cgi?id=335838)
Unit tests

Just a little update to the unit tests.
I originally defined the clip rectangle this way:

this.area = new Rectangle(10, 10, 20, 20);

But on a second thought, that's not so good. If the implementation was buggy
and mixed X with Y, or Width with Height, the tests would still pass as I gave
them the same values.

Let's do something like this instead:

this.area = new Rectangle(5, 9, 28, 17);

To make the tests catch more potential errors.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list