[GRASS5] Color code cleanup
glynn at gclements.plus.com
Wed Apr 19 04:34:29 EDT 2006
Cedric Shock wrote:
> Display code might want to tack on another indexed color for the non-standard
> color table. This does avoid lookup of RGB value in a table on an indexed
> display, right? Setting colors seems to be being done fairly infrequently so
> this probably isn't a big performance concern.
> Is there any R_ protocol command for none. Something that just turns off
> drawing until another color gets set?
The notion of "none" is only applicable to the raster operations,
where index zero can optionally indicate transparent (used by e.g.
"d.rast -o ...").
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev