[reportlab-users] Gradient support (patch)

Peter Johnson johnson.peter at gmail.com
Mon Aug 6 03:17:21 EDT 2012


On Fri, Aug 3, 2012 at 7:30 PM, Peter Johnson <johnson.peter at gmail.com> wrote:

> I've implemented axial (linear) and radial gradient support for

> ReportLab (the attached patch is against the latest SVN). The current

> function calls are simplified over what PDF supports internally, but

> multiple color "stops" and extending the gradient are supported.


Patch updated a bit to number generated shading functions at the
document level instead of the canvas level to avoid duplicate numbers.

-Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gradients-v2.patch
Type: application/octet-stream
Size: 14365 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20120806/439d7509/attachment.obj>


More information about the reportlab-users mailing list