GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-602118adcc
driver/set_window.c
Go to the documentation of this file.
1
#include "
driver.h
"
2
#include "
driverlib.h
"
3
4
static
struct
{
5
double
t
,
b
,
l
,
r
;
6
} window;
7
8
void
COM_Set_window
(
double
t
,
double
b
,
double
l
,
double
r
)
9
{
10
window.t =
t
;
11
window.b =
b
;
12
window.l =
l
;
13
window.r =
r
;
14
15
if
(
driver
->
Set_window
)
16
(*
driver
->
Set_window
)(
t
,
b
,
l
,
r
);
17
}
18
19
void
COM_Get_window
(
double
*
t
,
double
*
b
,
double
*
l
,
double
*
r
)
20
{
21
*
t
= window.t;
22
*
b
= window.b;
23
*
l
= window.l;
24
*
r
= window.r;
25
}
b
double b
Definition:
driver/set_window.c:5
l
double l
Definition:
driver/set_window.c:5
COM_Set_window
void COM_Set_window(double t, double b, double l, double r)
Definition:
driver/set_window.c:8
t
double t
Definition:
driver/set_window.c:5
r
double r
Definition:
driver/set_window.c:5
COM_Get_window
void COM_Get_window(double *t, double *b, double *l, double *r)
Definition:
driver/set_window.c:19
driver.h
driverlib.h
driver
Definition:
driver.h:21
driver::Set_window
void(* Set_window)(double, double, double, double)
Definition:
driver.h:30
lib
driver
set_window.c
Generated on Mon Nov 18 2024 06:59:56 for GRASS GIS 8 Programmer's Manual by
1.9.1