GRASS 8 Programmer's Manual 8.6.0dev(2026)-55de52a352
Loading...
Searching...
No Matches
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.
 

Detailed Description

GRASS png display driver - draw box.

SPDX-FileCopyrightText: 2003-2014 Per Henrik Johansen SPDX-FileCopyrightText: GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Per Henrik Johansen (original contributor)
Glynn Clements

Definition in file pngdriver/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 22 of file pngdriver/box.c.

References png, and x.

Referenced by PNG_Driver(), and PNG_Point().