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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 15 12:24:28 PDT 2011


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

           Summary: Radial gradients misrendered if focus is exactly on
                    the outer circle
           Product: cairo
           Version: 1.10.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: image backend
        AssignedTo: cworth at cworth.org
        ReportedBy: tweenk.pl at gmail.com
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=51242)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=51242)
Reduced test case

When the focus of a radial gradient lies almost exactly on the outer circle of
the gradient, the gradient randomly switches to a different mode of rendering,
which results in an abrupt change of appearance. This makes it rather hard to
clip the focus point to the outer circle of the gradient as required by the SVG
specification.

Attached is a reduced testcase. It should render a green surface with a red
gradient extending from the edge of the outer circle regardless of the value of
the "angle" constant, but most of the time it actually renders only green with
some transparency. For an example of correct behavior, set "angle" to zero.

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