[cairo-bugs] [Bug 29296] cairo_destroy() should not introduce drawing artifacts when omitted

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 7 06:52:38 PDT 2010


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

--- Comment #4 from Benjamin Otte <otte at gnome.org> 2010-08-07 06:52:36 PDT ---
We need a testcase that reproduces the problem. As I don't have an OS X
computer, I cannot do one, but I suspect that something like:

cr = cairo_create (quartz_surface);
cairo_set_source_rgb (cr, 1, 0, 0);
cairo_rectangle (cr, 0, 0, 10, 10);
cairo_clip (cr);
cairo_paint (cr);

cr2 = cairo_create (quartz_surface);
cairo_set_source_rgb (cr2, 0, 1, 0);
cairo_rectangle (cr2, 20, 20, 10, 10);
cairo_clip (cr2);
cairo_paint (cr2);

would reproduce the problem. Or maybe:

cr = cairo_create (quartz_surface);
cr2 = cairo_create (quartz_surface);
cairo_set_source_rgb (cr, 1, 0, 0);
cairo_set_source_rgb (cr2, 0, 1, 0);
cairo_rectangle (cr, 0, 0, 10, 10);
cairo_rectangle (cr2, 20, 20, 10, 10);
cairo_clip (cr);
cairo_clip (cr2);
cairo_paint (cr);
cairo_paint (cr2);

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