[Mono-bugs] [Bug 409672] DrawEllipse renders translated after scaling the graphics transform.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 17 09:17:59 EDT 2008


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

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=409672#c3


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |spouliot at novell.com
             Status|NEW                                             |RESOLVED
         Resolution|                                                |FIXED




--- Comment #3 from Sebastien Pouliot <spouliot at novell.com>  2008-07-17 07:17:58 MDT ---
No need to add text as attachment (it only makes it harder to read ;-).

> - These sample sources were compiled on Windows XP SP2.
> - The Linux results were seen on Fedora Core 3 running Mono 1.9.1 installed from the RedHat distribution package.
> - The Linux results were also seen on Fedora Core 7 running Mono 1.9.1 compiled manually from the sources download.

Sigh :( it looks like (again) that our AA fixes are playing tricks when
scaling.

Pixel positioning differs from GDI+ and Cairo. So historically libgdiplus added
an offset to compensate this. This works nicely for most cases (including the
most heavy user, MWF) because pixels position then exactly match between
Windows and Linux. 

However this addition gets multiplied when scaling (and that needs a lot of
other hacks to get it right). SVN r108130 (HEAD) and r108131 (2-0 branch*)
should fix ellipse and pies. Hopefully they are the last cases of this bug...

* this fix will probably miss the first preview package since this is already
tagged - but should be available later

Thanks for the report and the sample code/bitmaps. That helps a lot (i.e. save
a lot of time).
Sebastien


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