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)  

box.c File Reference

GRASS png display driver - draw box. More...

#include <math.h>
#include "pngdriver.h"
Include dependency graph for box.c:

Go to the source code of this file.

Functions

void PNG_Box (double fx1, double fy1, double fx2, double fy2)
 Draw a (filled) rectangle. More...
 

Detailed Description

GRASS png display driver - draw box.

(C) 2003-2014 by Per Henrik Johansen 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 box.c.

Function Documentation

◆ PNG_Box()

void PNG_Box ( double  fx1,
double  fy1,
double  fx2,
double  fy2 
)

Draw a (filled) rectangle.

Parameters
fx1,fy1,fx2,fy2rectangle coordinates

Definition at line 24 of file box.c.

References png_state::clip_bot, png_state::clip_left, png_state::clip_rite, png_state::clip_top, png_state::current_color, png_state::grid, png_state::height, png_state::modified, png, tmp, png_state::width, x, x1, and x2.

Referenced by PNG_Driver(), and PNG_Point().