[GRASS5] D_color
Jachym Cepicky
jachym.cepicky at centrum.cz
Mon May 16 11:01:55 EDT 2005
Hallo developers,
according to d.vect.thematic, I try to modify d.legend slightly, so it is
useable for vector maps too.
Now I created structure
struct vector_color { /* color of vector files */
char *vcat;
int red;
int blue;
int green;
} vcolors[100];
which is able to save color values in R:G:B and category value for 100
categories in the vector file.
d.legend uses
int D_color(int color)
but how to set the (int color) value for it from R:G:B colors?
I don't know, if I can make d.legend work with vector files, but I try it :-)
Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/
More information about the grass-dev
mailing list