[cairo-bugs] [Bug 40918] Radial gradients misrendered if focus is exactly on the outer circle

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 14 11:03:09 PST 2011


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

--- Comment #19 from Krzysztof Kosiński <tweenk.pl at gmail.com> 2011-11-14 11:03:09 PST ---
Sorry for 1.5 months of lag.

I implemented your suggestion in Inkscape. I have some doubts whether it will
work for all transform matrices, but in basic testing it seems to behave
correctly.

I thought about your proposal of implementing a background color for patterns,
and it looks like a good idea. It would be sufficient to get rid of the
tolerance-based code in your example, so I wouldn't need access to the target
context in order to create the gradient. The background color should of course
fill the areas where the pattern is undefined (e.g. outside of surface for
surface patterns, beyond the terminal points for gradients with
CAIRO_EXTEND_NONE, etc.) as opposed to areas where the gradient is transparent
black.

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