GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Set window. More...
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... | |
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.
Definition in file set_window.c.
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'.
[out] | window | window structure to be set |
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 | ) |
Establishes 'window' as the current working window.
Any opened cell files has its file-to-window mapping reworked.
[in] | window | window to become operative window |
Definition at line 49 of file set_window.c.
References G__::auto_mask, fileinfo::cellhd, err, G__::fileinfo, G__::fileinfo_count, G__check_for_auto_masking(), G__create_window_mapping(), G__reallocate_mask_buf(), G__reallocate_null_buf(), G__reallocate_temp_buf(), G__reallocate_work_buf(), G_adjust_Cell_head(), G_close_cell(), G_copy(), G_warning(), G__::mask_fd, fileinfo::open_mode, OPEN_NEW_COMPRESSED, OPEN_NEW_RANDOM, OPEN_NEW_UNCOMPRESSED, OPEN_OLD, G__::window, G__::window_set, and XDR_DOUBLE_NBYTES.
Referenced by D_setup(), IL_output_2d(), IL_resample_output_2d(), and N_init_geom_data_2d().