The R Project SVN R

Rev

Rev 16945 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16945 Rev 17020
Line 16... Line 16...
16
 *  You should have received a copy of the GNU General Public License
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
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
18
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
 */
19
 */
20
 
20
 
-
 
21
typedef struct {
-
 
22
  /* R Graphics Parameters */
-
 
23
  /* local device copy so that we can detect */
-
 
24
  /* when parameter changes */
-
 
25
 
-
 
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;
21
 
54
 
22
Rboolean GnomeDeviceDriver(DevDesc *dd, char *display, double width,
55
Rboolean GnomeDeviceDriver(DevDesc *dd, char *display, double width,
23
			   double height, double pointsize);
56
			   double height, double pointsize);