[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
Sun Sep 18 08:36:55 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=40918
Andrea Canciani <ranma42 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #51265|0 |1
is obsolete| |
--- Comment #16 from Andrea Canciani <ranma42 at gmail.com> 2011-09-18 08:36:53 PDT ---
Created an attachment (id=51315)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51315)
Simple implementation of the tolerance-based code
This files contains an example of what the code to create a radial gradient
(given the center, radius, focus, pattern->userspace and target cairo_t) would
look.
Can you please check if it is sufficient to fix your problem?
(Can you also check if my understanding of the SVG specification about the
pattern transform matrix being the inverse of cairo pattern matrices is
correct?)
If this functions works as expected, we can add it to the cookbook for anybody
wanting only "infocus" radial gradients.
--
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