Hallo developers,
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?
Hallo developers,
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?
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)
That is nearly the same, what my plot_icon does.
As soon as I get it work, I could
rewrite it a bit, so it can be copyed to lib/symbol...
But I can not get it work
I am quite busy currently, so still haven't gotten a chance to review
your legend code, but a thought: are you calling R_stabilize() ?
* Send all pending graphics
* commands to the graphics driver and cause all pending graphics to be
* drawn (provided the driver is written to comply). This routine does
* more than <i>R_flush</i> and in many instances is the more
* appropriate routine of the two to use.
you need to call that to actually "apply" any drawing commands.