Re: [Plplot-devel] Alpha values

2008-01-09 Thread Andrew Ross
On Wed, Jan 09, 2008 at 08:24:32AM +0100, Arjen Markus wrote: > > The 0.0-1.0 range is also used in Tk 8.5 with 0 completely transparant > and 1 completely opaque. So that supports your impression. > > The libgd convention seems rather arbitrary to me (127 as the maximum? > Why not 255, as with t

Re: [Plplot-devel] Alpha values

2008-01-08 Thread Arjen Markus
> > Hazen, > > Many thanks for this. It's a useful feature to have and I'm glad someone > has finally got round to starting to code it in. I've added support for > alpha values to the gd driver too so hopefully more people can test it > out. > > Note that libgd uses integer alpha values in the rang

Re: [Plplot-devel] Alpha values

2008-01-08 Thread Alan W. Irwin
On 2008-01-08 12:51- Andrew Ross wrote: > > Hazen, > > Many thanks for this. It's a useful feature to have and I'm glad someone > has finally got round to starting to code it in. I've added support for > alpha values to the gd driver too so hopefully more people can test it out. > > Note that

Re: [Plplot-devel] Alpha values

2008-01-08 Thread Andrew Ross
Hazen, Many thanks for this. It's a useful feature to have and I'm glad someone has finally got round to starting to code it in. I've added support for alpha values to the gd driver too so hopefully more people can test it out. Note that libgd uses integer alpha values in the range 0-127 with 0

[Plplot-devel] Alpha values

2008-01-06 Thread Hazen Babcock
Hello, I've added alpha value support to plplot core as discussed many months ago. I did this by (1) adding an additional member to the PLColor structure to store the alpha value and (2) adding a bunch of new functions to the API so that you can fiddle with the alpha value. I've also adde