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 cairo display driver - draw box. More...

#include "cairodriver.h"
Include dependency graph for box.c:

Go to the source code of this file.


void Cairo_Box (double x1, double y1, double x2, double y2)
 Draw a (filled) rectangle. More...

Detailed Description

GRASS cairo display driver - draw box.

(C) 2007-2008 by Lars Ahlzen 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.

Lars Ahlzen <lars> (original contibutor)
Glynn Clements

Definition in file box.c.

Function Documentation

◆ Cairo_Box()

void Cairo_Box ( double  x1,
double  y1,
double  x2,
double  y2 

Draw a (filled) rectangle.

x1,y1,x2,y2rectangle coordinates

Definition at line 22 of file box.c.

References ca, cairo, G_debug(), cairo_state::modified, x1, and x2.

Referenced by Cairo_Driver().