2
\file lib/pngdriver/point.c
4
\brief GRASS png display driver - draw point
6
(C) 2007-2014 by Glynn Clements and the GRASS Development Team
8
This program is free software under the GNU General Public License
9
(>=v2). Read the file COPYING that comes with GRASS for details.
11
\author Glynn Clements
14
#include <grass/gis.h>
15
#include "pngdriver.h"
20
void PNG_Point(double x, double y)
22
static double point_size = 1.0;
23
double half_point_size = point_size / 2;
25
PNG_Box(x - half_point_size, y - half_point_size,
26
point_size, point_size);