GRASS GIS 7 Programmer's Manual  7.0.2(2015)-r00000
cairodriver/set_window.c
Go to the documentation of this file.
1 
15 #include "cairodriver.h"
16 
22 void Cairo_Set_window(double t, double b, double l, double r)
23 {
24  G_debug(1, "Cairo_Set_window: %f %f %f %f", t, b, l, r);
25 
26  cairo_reset_clip(cairo);
27  cairo_rectangle(cairo, l, t, r - l, b - t);
28  cairo_clip(cairo);
29 
30  return;
31 }
void Cairo_Set_window(double t, double b, double l, double r)
Set window.
double l
double b
cairo_t * cairo
int G_debug(int level, const char *msg,...)
Print debugging message.
Definition: debug.c:65
double t
GRASS cairo display driver - header file.
double r