[Mono-bugs] [Bug 320194] FillPath has a different behaviour from MS GDI+

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 2 23:37:04 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=320194

User jan.oravec at 6com.sk added comment
https://bugzilla.novell.com/show_bug.cgi?id=320194#c1


Jan Oravec <jan.oravec at 6com.sk> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |jan.oravec at 6com.sk
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |




--- Comment #1 from Jan Oravec <jan.oravec at 6com.sk>  2008-11-02 21:37:04 MDT ---
This seems to be broken again:

The FillRectangles part has XOR effect on Mono, but it should be union.

The FillPath part seems to add stroke, which makes the large box one pixel
wider. I have no windows around to check, but in all discussions on the web
everyone who actually wants stroke adds DrawPath just after FillPath. I think
FillPath should not add any stroke by default (it makes ugly borders around,
especially with transparent brushes, as border pixels are placed twice, making
them less transparent). The attached patch removes stroke on FillPath and fixes
this issue.


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


More information about the mono-bugs mailing list