| 29921 |
ripley |
1 |
/*
|
|
|
2 |
* R : A Computer Language for Statistical Data Analysis
|
| 34747 |
ripley |
3 |
* Copyright (C) 2001-5 The R Development Core Team.
|
| 29921 |
ripley |
4 |
*
|
|
|
5 |
* This program is free software; you can redistribute it and/or modify
|
|
|
6 |
* it under the terms of the GNU Lesser General Public License as published by
|
|
|
7 |
* the Free Software Foundation; either version 2.1 of the License, or
|
|
|
8 |
* (at your option) any later version.
|
|
|
9 |
*
|
|
|
10 |
* This program is distributed in the hope that it will be useful,
|
|
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
13 |
* GNU Lesser General Public License for more details.
|
|
|
14 |
*
|
|
|
15 |
* You should have received a copy of the GNU Lesser General Public License
|
|
|
16 |
* along with this program; if not, write to the Free Software
|
|
|
17 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
18 |
*/
|
|
|
19 |
|
|
|
20 |
/* Definitions for the base graphics system. Only used in <Graphics.h> */
|
|
|
21 |
|
| 34747 |
ripley |
22 |
#ifndef R_GRAPHICSBASE_H_
|
|
|
23 |
#define R_GRAPHICSBASE_H_
|
|
|
24 |
|
| 17204 |
hornik |
25 |
typedef struct {
|
|
|
26 |
GPar dp; /* current device default parameters */
|
|
|
27 |
GPar gp; /* current device current parameters */
|
|
|
28 |
GPar dpSaved; /* saved device default parameters */
|
| 30832 |
murrell |
29 |
/*
|
|
|
30 |
* Has the device received base output?
|
|
|
31 |
*/
|
|
|
32 |
Rboolean baseDevice;
|
| 17204 |
hornik |
33 |
} baseSystemState;
|
|
|
34 |
|
|
|
35 |
void registerBase();
|
|
|
36 |
|
| 30832 |
murrell |
37 |
Rboolean Rf_baseDevice(DevDesc *dd);
|
|
|
38 |
void Rf_setBaseDevice(Rboolean val, DevDesc *dd);
|
| 34747 |
ripley |
39 |
|
|
|
40 |
#endif /* R_GRAPHICSBASE_ */
|