GRASS Programmer's Manual
6.5.svn(2014)-r66266
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
}
modified
int modified
Definition:
cairodriver/Graph.c:51
cairo
cairo_t * cairo
Definition:
cairodriver/Graph.c:60
cairodriver.h
Cairo_Box_abs
void Cairo_Box_abs(int x1, int y1, int x2, int y2)
Definition:
cairodriver/Box.c:5
G_debug
int G_debug(int level, const char *msg,...)
Print debugging message.
Definition:
gis/debug.c:51
lib
cairodriver
Box.c
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5