The R Project SVN R

Rev

Rev 42308 | Rev 44154 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
29921 ripley 1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
44142 ripley 3
 *  Copyright (C) 2001-8 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
42308 ripley 16
 *  along with this program; if not, a copy is available at
17
 *  http://www.r-project.org/Licenses/
29921 ripley 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
 
44142 ripley 35
void registerBase(); /* used in devices.c */
17204 hornik 36
 
44142 ripley 37
Rboolean Rf_baseDevice(DevDesc *dd); /* unused */
38
void Rf_setBaseDevice(Rboolean val, DevDesc *dd); /* used in graphics.c */
39
int baseRegisterIndex; /* used in devices.c */
34747 ripley 40
 
41
#endif /* R_GRAPHICSBASE_ */