[cairo-bugs] [Bug 34994] cairo bitmapped (png) results do not fill self-intersecting boundaries correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 4 13:51:43 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=34994

irwin at beluga.phys.uvic.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #3 from irwin at beluga.phys.uvic.ca 2011-03-04 13:51:41 PST ---
As of revision 11591 of PLplot svn trunk, I have changed example 27 so that the
maximum phi and phiw values are the smallest possible integers times 2 pi.  The
previous incorrect maximum values for these numbers so complicated the boundary
(with many duplicate boundaries) that correct fills were being generated that
looked incorrect for the -eofill case.  The incorrect maximums also caused a
large last boundary segment that introduced small but noticable asymmetries
into the case without -eofill.

Now these example 27 issues have been fixed, the results with -eofill are not
only correct but also beautiful (see, for example, revised testeo.pngcairo.19)
while results without -eofill are also correct (symmetrical).

Accordingly I am changing the status of the "bug" to RESOLVED/NOTOURBUG.  My
thanks to M Joonas Pihlaja for a strong hint that lead me to a solution for
these initial extremely puzzling fill results for the self-intersecting
boundary case.

One final topic is could someone comment here (just to satisfy my curiosity) on
what library is the source of the fill code when cairo fills the png surface
before the bitmapped png file is produced?

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


More information about the cairo-bugs mailing list