Displaying 2 results from an estimated 2 matches for "r_ge_checkversionordie".
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
...rgs = CDR(args);
onefile = asLogical(CAR(args)); args = CDR(args);
pagecentre = asLogical(CAR(args));args = CDR(args);
+ defaultfont = asLogical(CAR(args)); args = CDR(args);
+ textspecial = asLogical(CAR(args)); args = CDR(args);
encoding = CHAR(asChar(CAR(args)));
R_GE_checkVersionOrDie(R_GE_version);
@@ -7476,7 +7487,7 @@
if (!(dev = (pDevDesc) calloc(1, sizeof(DevDesc))))
return 0;
if(!XFigDeviceDriver(dev, file, paper, family, bg, fg, width, height,
- (double) horizontal, ps, onefile, pagecentre,
+ (double) horizontal, ps, onefile, pagecentre, default...
2008 Jan 28
0
Notes for writers of graphics devices
...rsion 1: Introduction of the version number.
* Version 2: GEDevDesc *dd dropped from GEcontourLines().
* Version 3: R_GE_str2col() added to API.
* Version 4: UTF-8 text hooks, useRotatedTextInContour to device interface.
*/
but unfortunately it is unused. There's a function called
R_GE_checkVersionOrDie to check the API version. Unfortunately this means
that devices built under R < 2.7.0 are liable to crash if used under 2.7.0
(although I've tried to be as defensive as possible). So please consider
making use of it. (As the standard devices don't need it, they don't
provide ex...