17 #include <grass/gis.h>
61 ptr = (
unsigned char *)rast;
int G_zero_raster_buf(void *rast, RASTER_MAP_TYPE data_type)
Zero a raster buffer.
size_t G_raster_size(RASTER_MAP_TYPE data_type)
Returns size of a raster CELL in bytes.
int G_window_cols(void)
Number of columns in active window.
char buf[GNAME_MAX+sizeof(G3D_DIRECTORY)+2]
int G_zero_cell_buf(CELL *buf)
Zero a raster CELL buffer.