GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
GIS Library - Auto masking routines. More...
Go to the source code of this file.
Functions | |
int | G__check_for_auto_masking (void) |
Checks for auto masking. More... | |
int | G_suppress_masking (void) |
Suppresses masking. More... | |
int | G_unsuppress_masking (void) |
Unsuppresses masking. More... | |
GIS Library - Auto masking routines.
(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 auto_mask.c.
int G__check_for_auto_masking | ( | void | ) |
Checks for auto masking.
On first call, opens the mask file if declared and available and allocates buffer for reading mask rows. On second call, returns 0 or 1.
Definition at line 34 of file auto_mask.c.
References G__::auto_mask, G__open_cell_old(), G_find_cell(), G_get_cellhd(), G_mapset(), G_projection(), G_unopen_cell(), G_warning(), G_zone(), and G__::mask_fd.
Referenced by G_maskfd(), G_open_cell_old(), G_set_window(), and G_unsuppress_masking().
int G_suppress_masking | ( | void | ) |
Suppresses masking.
Definition at line 82 of file auto_mask.c.
References G__::auto_mask, G_close_cell(), and G__::mask_fd.
int G_unsuppress_masking | ( | void | ) |
Unsuppresses masking.
Definition at line 101 of file auto_mask.c.
References G__::auto_mask, G__check_for_auto_masking(), and G__::mask_fd.