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/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
}
l
int l
Definition:
dataquad.c:292
b
float b
Definition:
named_colr.c:8
r
float r
Definition:
named_colr.c:8
Cairo_Set_window
void Cairo_Set_window(int, int, int, int)
Definition:
cairodriver/Set_window.c:3
cairo
cairo_t * cairo
Definition:
cairodriver/Graph.c:60
cairodriver.h
G_debug
int G_debug(int level, const char *msg,...)
Print debugging message.
Definition:
gis/debug.c:51
lib
cairodriver
Set_window.c
Generated on Sat Jan 2 2016 01:46:49 for GRASS Programmer's Manual by
1.8.5