GRASS Programmer's Manual  6.4.2(2012)
pngdriver/Erase.c
Go to the documentation of this file.
00001 #include "pngdriver.h"
00002 
00003 void PNG_Erase(void)
00004 {
00005     int n = width * height;
00006     int i;
00007 
00008     for (i = 0; i < n; i++)
00009         grid[i] = background;
00010 
00011     modified = 1;
00012 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines