(In reply to comment #16)
>
> The use of cairo looks fine. Would it be better to avoid duplicating the
> bisection code from Gfx and instead add a new axial shading OutputDev function
> that provides the coordinates of each stop?
>
yes, sure, this patch is just a quick hack to see whether it works. I'll rework the patch and try to implement radial gradients too.
(In reply to comment #16)
>
> The use of cairo looks fine. Would it be better to avoid duplicating the
> bisection code from Gfx and instead add a new axial shading OutputDev function
> that provides the coordinates of each stop?
>
yes, sure, this patch is just a quick hack to see whether it works. I'll rework the patch and try to implement radial gradients too.