GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pngdriver/Erase.c
Go to the documentation of this file.
1 #include "pngdriver.h"
2 
3 void PNG_Erase(void)
4 {
5  int n = width * height;
6  int i;
7 
8  for (i = 0; i < n; i++)
9  grid[i] = background;
10 
11  modified = 1;
12 }
int modified
tuple width
unsigned char * grid
void PNG_Erase(void)
unsigned int background
int height
int n
Definition: dataquad.c:291