The R Project SVN R

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13974 hornik 1
/*
2
 *  R : A Computer Langage for Statistical Data Analysis
3
 *  Copyright (C) 1998-1999   Lyndon Drake
4
 *                            and the R Development Core Team
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; either version 2 of the License, or
9
 *  (at your option) any later version.
10
 *
11
 *  This program is distributed in the hope that it will be useful,
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 *  GNU General Public License for more details.
15
 *
16
 *  You should have received a copy of the GNU General Public License
17
 *  along with this program; if not, write to the Free Software
18
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
 */
20
 
17020 murrell 21
typedef struct {
22
  /* R Graphics Parameters */
23
  /* local device copy so that we can detect */
24
  /* when parameter changes */
13974 hornik 25
 
17020 murrell 26
  double cex;				/* Character expansion */
27
  double srt;				/* String rotation */
28
 
29
  int fontface;                         /* Typeface */
30
  int fontsize;                         /* Size in points */
31
 
32
  gint lty, lwd;                        /* line params */
33
 
34
  /* GNOME Driver Specific */
35
 
36
  GdkGC *wgc;
37
 
38
  int windowWidth;			/* Window width (pixels) */
39
  int windowHeight;			/* Window height (pixels) */
40
  Rboolean resize;			/* Window resized */
41
  GtkWidget *window;			/* Graphics Window */
42
 
43
  GtkWidget *canvas;                    /* Gnome canvas */
44
  GnomeCanvasGroup *group;              /* Canvas group for plotting */
45
  GnomeCanvasItem *plotarea;            /* Plotting area */
46
 
47
  GdkCursor *gcursor;
48
 
49
  Rboolean usefixed;                    /* not yet used (??) */
50
  GdkFont *fixedfont;
51
  GdkFont *font;
52
 
53
} gnomeDesc;
54
 
16945 pd 55
Rboolean GnomeDeviceDriver(DevDesc *dd, char *display, double width,
56
			   double height, double pointsize);