[GRASS5] Suggested color function names

Cedric Shock cedricgrass at shockfamily.net
Sat Apr 22 10:20:19 EDT 2006


This has little to do with alpha support in the displays.  It has to do with 
having a structure for colors. Hamish added one called RGBA_Color to gis.h. 
These are just small changes to accommodate the color structure based on the 
assumption that a color structure is a good idea. I'll take what you're 
saying to mean that you don't like the name RGBA_Color for this structure or 
the use of the letters RGBA in function names.  If you have a better name 
suggestion that won't lead to confusion over the existence of alpha in 
displays please share it with us.



> Alpha support in the current display architecture isn't going to
> happen (I reverted the last attempt to add it, and will do likewise in
> future). The core X API doesn't support it, and hacking it in is
> grossly inefficient (read-modify-write cycles aren't practical on a
> remote display).
> Developers' time would be better spent replacing the modules which are
> tied to the current architecture so that it can be discarded in favour
> of a from-scratch replacement.
> I'm referring to anything which uses R_get_location_with_*, primarily
> v.digit and i.points.

More information about the grass-dev mailing list