[GRASS5] drawing icons

Hamish hamish_nospam at yahoo.com
Tue May 24 19:34:57 EDT 2005


> is there quick manual, which would tell me, how to draw icons on the
> monitor? I would like to add these in d.legend. I looked at the code
> of d.vect, but I can not say, that I would understand it much. Is
> there some better place, where to look?


see lib/symbol/README

Otherwise d.vect source code is the best place to look.


display/d.vect/plot1.c

starting with line 81:
 /* Note: this should go to some library function */


also main.c, lib/symbol/*.c, and include/symbol.h


It would be really great to make a D_symbol() and D_polygon() functions
in lib/display/ and then add to d.graph. (as a similar tool to ps.map's
point command)




Hamish




More information about the grass-dev mailing list