The R Project SVN R

Rev

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

Rev 33359 Rev 34864
Line 1... Line 1...
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-5 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.
Line 17... Line 17...
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
/* Used by third-party graphics devices */
20
/* Used by third-party graphics devices */
21
 
21
 
-
 
22
#ifndef R_GRAPHICSENGINE_H_
-
 
23
#define R_GRAPHICSENGINE_H_
-
 
24
 
-
 
25
#ifdef __cplusplus
-
 
26
extern "C" {
-
 
27
#endif
-
 
28
 
22
/*
29
/*
23
 * The current graphics engine (including graphics device) API version
30
 * The current graphics engine (including graphics device) API version
24
 * MUST be integer
31
 * MUST be integer
25
 * 
32
 * 
26
 * This number should be bumped whenever there are changes to 
33
 * This number should be bumped whenever there are changes to 
Line 28... Line 35...
28
 * that compile against these headers (graphics systems such as
35
 * that compile against these headers (graphics systems such as
29
 * graphics and grid;  graphics devices such as gtkDevice, RSvgDevice)
36
 * graphics and grid;  graphics devices such as gtkDevice, RSvgDevice)
30
 * can detect any version mismatch.
37
 * can detect any version mismatch.
31
 *
38
 *
32
 * Version 1:  Introduction of the version number.
39
 * Version 1:  Introduction of the version number.
-
 
40
 * Version 2:  GEDevDesc *dd dropped from GEcontourLines().
33
 */
41
 */
34
 
42
 
35
#define R_GE_version 1
43
#define R_GE_version 2
36
 
44
 
37
int R_GE_getVersion();
45
int R_GE_getVersion();
38
 
46
 
39
void R_GE_checkVersionOrDie(int version);
47
void R_GE_checkVersionOrDie(int version);
40
 
48
 
Line 321... Line 329...
321
 
329
 
322
/* 
330
/* 
323
 * From plot3d.c 
331
 * From plot3d.c 
324
 */
332
 */
325
SEXP GEcontourLines(double *x, int nx, double *y, int ny,
333
SEXP GEcontourLines(double *x, int nx, double *y, int ny,
326
		    double *z, double *levels, int nl,
334
		    double *z, double *levels, int nl);
327
		    GEDevDesc *dd);
-
 
328
/* 
335
/* 
329
 * (End from plot3d.c)
336
 * (End from plot3d.c)
330
 */
337
 */
331
 
338
 
332
/* 
339
/* 
Line 373... Line 380...
373
void GEcopyDisplayList(int fromDevice);
380
void GEcopyDisplayList(int fromDevice);
374
SEXP GEcreateSnapshot(GEDevDesc *dd);
381
SEXP GEcreateSnapshot(GEDevDesc *dd);
375
void GEplaySnapshot(SEXP snapshot, GEDevDesc* dd);
382
void GEplaySnapshot(SEXP snapshot, GEDevDesc* dd);
376
void GEonExit();
383
void GEonExit();
377
void GEnullDevice();
384
void GEnullDevice();
-
 
385
 
-
 
386
 
-
 
387
#ifdef __cplusplus
-
 
388
}
-
 
389
#endif
-
 
390
 
-
 
391
#endif /* R_GRAPHICSENGINE_ */