Radial gradients misrendered if focus is exactly on the outer circle
Submitted by Krzysztof Kosiński
Assigned to Carl Worth @cworth
Description
Created attachment 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.
Attachment 51242, "Reduced test case":
radial-focus.c
Version: 1.10.2