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/Set_window.c
Go to the documentation of this file.
1
#include "
cairodriver.h
"
2
3
void
Cairo_Set_window
(
int
t,
int
b
,
int
l,
int
r
)
4
{
5
G_debug
(1,
"Cairo_Set_window: %d %d %d %d"
, t, b, l, r);
6
7
cairo_reset_clip(
cairo
);
8
cairo_rectangle(
cairo
, (
double
)l, (
double
)t, (
double
)r - l,
9
(
double
)b - t);
10
cairo_clip(
cairo
);
11
}
lib
cairodriver
Set_window.c
Generated on Wed Jun 6 2012 14:04:28 for GRASS Programmer's Manual by
1.8.1