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