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)  

draw.c File Reference

GRASS PNG display driver. More...

#include <grass/gis.h>
#include "driverlib.h"
#include "path.h"
#include "pngdriver.h"
Include dependency graph for draw.c:

Go to the source code of this file.


void PNG_Begin (void)
void PNG_Move (double x, double y)
void PNG_Cont (double x, double y)
void PNG_Close (void)
void PNG_Stroke (void)
void PNG_Fill (void)


static struct path path

Detailed Description

GRASS PNG display driver.

(C) 2008 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.

Glynn Clements

Definition in file draw.c.

Function Documentation

◆ PNG_Begin()

void PNG_Begin ( void  )

Definition at line 21 of file draw.c.

References path_begin().

Referenced by PNG_Driver().

◆ PNG_Close()

void PNG_Close ( void  )

Definition at line 36 of file draw.c.

References path_close().

Referenced by PNG_Driver().

◆ PNG_Cont()

void PNG_Cont ( double  x,
double  y 

Definition at line 31 of file draw.c.

References path_cont(), and x.

Referenced by PNG_Driver().

◆ PNG_Fill()

void PNG_Fill ( void  )

Definition at line 46 of file draw.c.

References png_polygon().

Referenced by PNG_Driver().

◆ PNG_Move()

void PNG_Move ( double  x,
double  y 

Definition at line 26 of file draw.c.

References path_move(), and x.

Referenced by PNG_Driver().

◆ PNG_Stroke()

void PNG_Stroke ( void  )

Definition at line 41 of file draw.c.

References path_stroke(), and png_draw_line().

Referenced by PNG_Driver().

Variable Documentation

◆ path

struct path path

Definition at line 19 of file draw.c.