grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

graph_close.c File Reference

GRASS png display driver - close graphics processing. More...

#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <grass/gis.h>
#include "pngdriver.h"
Include dependency graph for graph_close.c:

Go to the source code of this file.

Functions

static void unmap_file (void)
 
void PNG_Graph_close (void)
 Close down the graphics processing. This gets called only at driver termination time. More...
 

Detailed Description

GRASS png display driver - close graphics processing.

(C) 2003-2014 by Glynn Clements and 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.

Author
Per Henrik Johansen (original contributor)
Glynn Clements

Definition in file graph_close.c.

Function Documentation

◆ PNG_Graph_close()

void PNG_Graph_close ( void  )

Close down the graphics processing. This gets called only at driver termination time.

Definition at line 50 of file graph_close.c.

References G_free(), png_state::grid, png_state::mapped, png, unmap_file(), and write_image().

Referenced by PNG_Driver().

◆ unmap_file()

static void unmap_file ( void  )
static