>
> 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
> being opaque. This is quite different to the convention in cairo, and
> also now in plplot. I'm happy to stick with the 0.0-1.0 range with 1.0
> as opaque though since this seems more natural. I'm fairly sure this is
> what I have seen elsewhere too.
>

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 the RGB values?)

Regards,

Arjen

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to