[GRASS-dev] d.* commands
Hamish
hamish_nospam at yahoo.com
Wed May 24 02:52:02 EDT 2006
> I think there are around 56 d.* commands for interacting with the X11
> terminals.
no, they talk to the display and raster libraries, which in turn render
to a display driver, which will then send it on to X11, PNG file, other..
e.g. a module calls R_text() to draw some text or R_polygon_abs() to
draw a polygon. The display drivers take care of how to actually draw
that. Look in grass6/display/drivers/
> What needs to be done to these modules so that they can communicate
> with the new Tk display canvas?
very little. e.g. in gis.m's GIS Manager window, click the "add command
layer" button and add a d.* command and watch it go.
We only have to worry about interactive modules.
Hamish
More information about the grass-dev
mailing list