GRASS Programmer's Manual  6.4.2(2012)
cairodriver/Set_window.c
Go to the documentation of this file.
00001 #include "cairodriver.h"
00002 
00003 void Cairo_Set_window(int t, int b, int l, int r)
00004 {
00005     G_debug(1, "Cairo_Set_window: %d %d %d %d", t, b, l, r);
00006 
00007     cairo_reset_clip(cairo);
00008     cairo_rectangle(cairo, (double)l, (double)t, (double)r - l,
00009                     (double)b - t);
00010     cairo_clip(cairo);
00011 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines