GRASS GIS 7 Programmer's Manual
7.8.6(2021)-exported
psdriver/set_window.c
Go to the documentation of this file.
1
2
/****************************************************************************
3
*
4
* MODULE: PNG driver
5
* AUTHOR(S): Glynn Clements <glynn@gclements.plus.com>
6
* COPYRIGHT: (C) 2007 Glynn Clements
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
*****************************************************************************/
19
20
#include "
psdriver.h
"
21
22
void
PS_Set_window
(
double
t
,
double
b
,
double
l
,
double
r
)
23
{
24
output
(
"%.1f %.1f %.1f %.1f %s\n"
,
t
,
b
,
l
,
r
,
25
ps
.
encapsulated
?
"EPSWINDOW"
:
"WINDOW"
);
26
}
b
double b
Definition:
driver/set_window.c:5
l
double l
Definition:
driver/set_window.c:5
t
double t
Definition:
driver/set_window.c:5
r
double r
Definition:
driver/set_window.c:5
ps
struct ps_state ps
Definition:
psdriver/graph_set.c:26
output
void output(const char *fmt,...)
Definition:
psdriver/graph_set.c:236
PS_Set_window
void PS_Set_window(double t, double b, double l, double r)
Definition:
psdriver/set_window.c:22
psdriver.h
ps_state::encapsulated
int encapsulated
Definition:
psdriver.h:16
psdriver
set_window.c
Generated on Sun Oct 10 2021 15:04:24 for GRASS GIS 7 Programmer's Manual by
1.9.1