GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
set_window.c File Reference

Set window. More...

#include <grass/gis.h>
#include <grass/glocale.h>
#include "G.h"
Include dependency graph for set_window.c:

Go to the source code of this file.

Functions

int G_get_set_window (struct Cell_head *window)
 Get the current working window. More...
 
int G_set_window (struct Cell_head *window)
 Establishes 'window' as the current working window. More...
 

Detailed Description

Set window.

(C) 2001-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
GRASS GIS Development Team
Date
1999-2007

Definition in file set_window.c.

Function Documentation

int G_get_set_window ( struct Cell_head *  window)

Get the current working window.

The current working window values are returned in the structure 'window'.

Parameters
[out]windowwindow structure to be set
Returns
1

Definition at line 30 of file set_window.c.

References G__init_window(), G_copy(), and G__::window.

Referenced by D_cell_draw_setup(), D_setup(), G_begin_cell_area_calculations(), G_get_3dview(), G_projection(), G_setup_plot(), G_zone(), Gp_load_sites(), GS_get_to_real(), GS_libinit(), GS_set_focus_real(), Gv_load_vect(), N_init_geom_data_2d(), N_init_geom_data_3d(), N_read_rast_to_array_2d(), and N_write_array_2d_to_rast().

int G_set_window ( struct Cell_head *  window)