[Poppler-bugs] [Bug 10942] spurious horizontal stripes in color gradients
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 3 14:19:33 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=10942
--- Comment #16 from Adrian Johnson <ajohnson at redneon.com> 2009-06-03 14:19:32 PST ---
(In reply to comment #15)
> Created an attachment (id=26402)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26402) [details]
> Implement axialShadedFill() in cairo backend using cairo linear gradient
> patterns
>
> poppler/CairoOutputDev.cc | 297 +++++++++++++++++++++++++++++++++++++++++++++
> poppler/CairoOutputDev.h | 6 +
> 2 files changed, 303 insertions(+), 0 deletions(-)
>
> This patch implements linear gradients in cairo backend. I'm not a cairo guru
> so I'm not sure it's completely right, it fixes the problem with the first
> attachment.
>
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?
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list