[GRASS-dev] lib fn to convert int color number to RGB values?
Ivan Shmakov
ivan at theory.asu.ru
Thu Jan 31 10:33:28 EST 2008
>>>>> Hamish <hamish_b at yahoo.com> writes:
[...]
> RGBA_Color was recently added (as was RGB support for modules' CLI
> options) so 1) it could be used to pass RGB arround without having to
> call the display library and 2) we could handle a color value of
> 'none' without needing to pass a separate variable or rely on the
> palette index number set to -1. Currently the alpha channel is just
> set to 0 or 255 for full-transparency ('none') or full-opacity.
Could the attached (untested) patch be of any help?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 26332 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20080131/7cae9505/attachment-0001.bin
More information about the grass-dev
mailing list