The R Project SVN R

Rev

Rev 31994 | Rev 34785 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31994 Rev 32815
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
/*
-
 
23
 * The current graphics engine (including graphics device) API version
-
 
24
 * MUST be integer
-
 
25
 * 
-
 
26
 * This number should be bumped whenever there are changes to 
-
 
27
 * GraphicsEngine.h or GraphicsDevice.h so that add-on packages
-
 
28
 * that compile against these headers (graphics systems such as
-
 
29
 * graphics and grid;  graphics devices such as gtkDevice, RSvgDevice)
-
 
30
 * can detect any version mismatch.
-
 
31
 *
-
 
32
 * Version 1:  Introduction of the version number.
-
 
33
 */
-
 
34
 
-
 
35
#define R_GE_version 1
-
 
36
 
-
 
37
int R_GE_getVersion();
-
 
38
 
-
 
39
void R_GE_checkVersionOrDie(int version);
-
 
40
 
22
/* The graphics engine will only accept locations and dimensions 
41
/* The graphics engine will only accept locations and dimensions 
23
 * in native device coordinates, but it provides the following functions
42
 * in native device coordinates, but it provides the following functions
24
 * for converting between a couple of simple alternative coordinate 
43
 * for converting between a couple of simple alternative coordinate 
25
 * systems and device coordinates:
44
 * systems and device coordinates:
26
 *    DEVICE = native units of the device
45
 *    DEVICE = native units of the device