[GRASS5] display bitmap

Glynn Clements glynn.clements at virgin.net
Sat Jun 23 12:34:07 EDT 2001


Somesh Agarwal wrote:

>   I have a bit map and position from which I must display it and
> the coordinates of the window  in which it should be displayed.
> Now how do i display it on the X device or PNG driver .

Are you looking for commands or functions?

At the command level, use d.frame then d.rast.

At the function level, either use R_reset_color() then R_raster(), or
use the D_draw_* functions.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list