https://bugzilla.novell.com/show_bug.cgi?id=379546
Summary: Graphics.FillPath on Linux doesn't match MS GDI+
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Drawing.
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Created an attachment (id=207644)
--> (https://bugzilla.novell.com/attachment.cgi?id=207644)
Sample code to reproduce the bug
Description of Problem:
I create a Path, in this instance a rectangle with rounded corners.
I make a copy, which is translated a few px right and down and then scaled by
just the right amount to overlap most of the original path, leaving the left
and top edges.
I then add the second path to the first path and use Graphics.FillPath
on Windows, using .Net or mono it looks how I expect - see screen grab
WinXPPath.png
on Linux it seems to fill the bottom and right edges - see screen grab
LinuxPath.png
If I use Graphics.DrawPath, they both look the same
Steps to reproduce the problem:
1. compile the sample thus:
mcs -r:System.Windows.Forms,System.Drawing Paths.cs
2. run it
Actual Results:
see LinuxPath.png
Expected Results:
see WinXPPath.png
How often does this happen?
always on Linux
Additional Information:
this is on Debian Etch with libgdiplus-1.9 compiled from source and mono
20080407 tarball compiled from source
--
Configure bugmail: https://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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs