[reportlab-users] RGBA Colors
Tim Roberts
timr at probo.com
Wed Dec 2 14:16:52 EST 2009
Kevin D Smith wrote:
> I did wonder if it was something that I was doing. Can you clarify why this is wrong? I thought the save and restore state methods were simply there to reset the canvas state back to what it was before doing an operation.
>
I think the issue is as simple as that the FillAlpha value is NOT being
saved and restored. It's currently just a local attribute of the canvas
object, and so it persists. If you add it to the STATE_ATTRIBUTES list
in canvas.py, this problem will probably go away.
I haven't checked the svn version, so if this has already been done,
then I'm all wet.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the reportlab-users
mailing list