[cairo-bugs] [Bug 4722] Multistop gradients only work if the stops
are equally spaced and end in offsets 0.0 and 1.0.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 9 08:19:45 PDT 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=4722
------- Additional Comments From jlt_fdo at shamrock.dyndns.org 2005-10-09 08:19 -------
Created an attachment (id=3520)
--> (https://bugs.freedesktop.org/attachment.cgi?id=3520&action=view)
Fix by using PDF's Stiched Functions (Type 3).
And here is the patch that fixes both problems.
Note that it could be optimized to only output each Type 1 and Type 3 Function
once. Furthermore In case of stiched functions (Type 3) old Type 1 Functions
can also be reused if the required function g is g=f(1-x) of an existing
function f: '\Encode 1 0' needs to be changed to '\Encode 0 1' in that case.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list