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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 22 05:09:31 EDT 2010


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

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


--- Comment #5 from Thomas Goldstein <stifu at free.fr> 2010-03-22 09:09:30 UTC ---
Possible workaround for people encountering this issue, call this instead:

graphics.FillRectangle(yourBrush, 0, 0, image.Width, image.Height);

I guess this is the same, unless your Brush isn't opaque. Performances are a
tiny bit less good than with Clear, though.

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