[Mono-bugs] [Bug 413461] Bezier curves via GraphicsPath render improperly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 4 10:29:53 EDT 2008


User spouliot at novell.com added comment

Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |spouliot at novell.com
             Status|NEW                                             |RESOLVED
          Component|Sys.Drawing.                                    |libgdiplus
         Resolution|                                                |FIXED

--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2008-08-04 08:29:52 MDT ---
There are two issues here.

(a) it seems MS "assume" a PathPointType.CloseSubpath at the end of the
GraphicsPath supplied. Closing the path fix the shape. I said "assume" because
unit tests shows that CloseSubpath is not added to the path.

(b) we should always stroke (when filling, a hack to match GDI+ from cairo)
with a line width of 1.0 (and not with the current pen width)

Fixed in SVN r109571 (HEAD) and r109572 (2.0 branch).
Unit test, based on test case, added in r109573.


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