Hazen Babcock writes:
 > This reminds me that many graphics drivers these days support a color  
 > alpha (or translucency value) as well the standard red, green and  
 > blue. Any thoughts on extending PLplot to support this? It could be  
 > as simple as adding a alpha value to the PLStream data structure,  
 > which the user could set with say "plsalpha", and which would be used  
 > or ignored by the graphics driver as appropriate.

I've been interested in translucency for awhile now, but completely unable to
find time to look into it.

I'd avoid a "plsalpha" for the same reason that I deprecated plrgb() -- it's a
whole lot nicer to set up a set of standard colors and calls to manipulate
them.  So I would prefer that if we were to support translucency in the core,
every color have a translucency attribute (defaulting to none, i.e. the way it
is now).  Of course we'd need a bunch of new API calls for setting color
values, maybe take the existing ones and add on a "x" (for extended), that
allowed the user to specify RGB + translucency.  Any other attributes needed?

-- 
Maurice LeBrun


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to