GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71817
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pngdriver/box.c File Reference

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

#include <math.h>
#include "pngdriver.h"
Include dependency graph for pngdriver/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 pngdriver/box.c.

Function Documentation

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 pngdriver/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, int, png_state::modified, png, png_state::width, and x.

Referenced by PNG_Driver(), and PNG_Point().