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 added a  new example (x30) to demonstrate how to use some  
of the functions and what the effects of alpha values are in general.  
At present only the cairo device driver is alpha aware so you should  
not see any differences when using any of the other drivers.

The new functions are:
plscolbga(PLINT r, PLINT g, PLINT b, PLFLT a)
plgcolbga(PLINT *r, PLINT *g, PLINT *b, PLFLT *a)
plscol0a(PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT a)
plgcol0a(PLINT icol0, PLINT *r, PLINT *g, PLINT *b, PLFLT *a)
plscmap0a(PLINT *r, PLINT *g, PLINT *b, PLFLT *a, PLINT ncol0)

Note that at present you can only change / interrogate the alpha  
values for color table 0.

Thoughts?

-Hazen


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to