[Mono-bugs] [Bug 379546] New: Graphics.FillPath on Linux doesn't match MS GDI+

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Apr 13 15:42:12 EDT 2008


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: mono-bugs at lists.ximian.com
        ReportedBy: alex.conway at linea-research.co.uk
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list