GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
psdriver/set_window.c
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* MODULE: PNG driver
4
* AUTHOR(S): Glynn Clements <glynn@gclements.plus.com>
5
* COPYRIGHT: (C) 2007 Glynn Clements
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
*****************************************************************************/
18
19
#include "
psdriver.h
"
20
21
void
PS_Set_window
(
double
t
,
double
b
,
double
l
,
double
r
)
22
{
23
output
(
"%.1f %.1f %.1f %.1f %s\n"
,
t
,
b
,
l
,
r
,
24
ps
.
encapsulated
?
"EPSWINDOW"
:
"WINDOW"
);
25
}
ps
struct ps_state ps
Definition:
psdriver/graph_set.c:26
output
void output(const char *fmt,...)
Definition:
psdriver/graph_set.c:232
PS_Set_window
void PS_Set_window(double t, double b, double l, double r)
Definition:
psdriver/set_window.c:21
psdriver.h
b
double b
Definition:
r_raster.c:39
l
double l
Definition:
r_raster.c:39
t
double t
Definition:
r_raster.c:39
r
double r
Definition:
r_raster.c:39
ps_state::encapsulated
int encapsulated
Definition:
psdriver.h:15
lib
psdriver
set_window.c
Generated on Thu Mar 20 2025 07:33:30 for GRASS GIS 8 Programmer's Manual by
1.9.1