GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
OGSF library - PPM stuff. More...
Go to the source code of this file.
Functions | |
int | GS_write_ppm (const char *name) |
Save current GL screen to ppm file. More... | |
int | GS_write_zoom (const char *name, unsigned int xsize, unsigned int ysize) |
Write zoom to file. More... | |
OGSF library - PPM stuff.
GRASS OpenGL gsurf OGSF Library
(C) 1999-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gsd_img_ppm.c.
int GS_write_ppm | ( | const char * | name | ) |
Save current GL screen to ppm file.
name | file name |
Definition at line 41 of file gsd_img_ppm.c.
References _, b, g, G_free(), G_warning(), gsd_getimage(), NULL, r, and x.
int GS_write_zoom | ( | const char * | name, |
unsigned int | xsize, | ||
unsigned int | ysize | ||
) |
Write zoom to file.
name | file name |
xsize,ysize |
Definition at line 88 of file gsd_img_ppm.c.
References _, b, free(), g, G_warning(), gsd_writeView(), NULL, r, and x.