| GRASS 8 Programmer's Manual
    8.5.0dev(2025)-9d806b45d8
    | 
GIS Library - Window box functions. More...
#include <grass/gis.h>
Go to the source code of this file.
| Functions | |
| void | G_adjust_window_to_box (const struct Cell_head *src, struct Cell_head *dst, int rows, int cols) | 
| Adjusts window to a rectangular box.  More... | |
GIS Library - Window box functions.
(C) 2001-2014 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 wind_2_box.c.
| void G_adjust_window_to_box | ( | const struct Cell_head * | src, | 
| struct Cell_head * | dst, | ||
| int | rows, | ||
| int | cols | ||
| ) | 
Adjusts window to a rectangular box.
Creates a new window dst from a window src which fits into the rectangular box with dimensions rows by cols.
| [in] | src | source window | 
| [in,out] | dst | destination window | 
| [in] | rows | number of rows in box | 
| [in] | cols | number of columns in box | 
Definition at line 30 of file wind_2_box.c.