GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
cairodriver/Box.c
Go to the documentation of this file.
1
#include "
cairodriver.h
"
2
3
/* Box_abs: Draw a (filled) rectangle */
4
5
void
Cairo_Box_abs
(
int
x1,
int
y1,
int
x2,
int
y2)
6
{
7
G_debug
(3,
"Cairo_Box_abs %d %d %d %d\n"
, x1, y1, x2, y2);
8
9
cairo_rectangle(
cairo
, (
double
)x1, (
double
)y1, (
double
)x2 - x1,
10
(
double
)y2 - y1);
11
cairo_fill(
cairo
);
12
modified
= 1;
13
}
lib
cairodriver
Box.c
Generated on Wed Jun 6 2012 14:04:19 for GRASS Programmer's Manual by
1.8.1