search for: gedevdesc

Displaying 7 results from an estimated 7 matches for "gedevdesc".

2008 Jun 03
2
JGR / linux
...ation specifiers or ?...? before ?NewDevDesc? javaGD.c: In function ?Rf_addJavaGDDevice?: javaGD.c:215: warning: implicit declaration of function ?GEcreateDevDesc? javaGD.c:215: warning: assignment makes pointer from integer without a cast javaGD.c: In function ?reloadJavaGD?: javaGD.c:233: error: ?GEDevDesc? has no member named ?dev? javaGD.c: In function ?javaGDobjectCall?: javaGD.c:252: error: ?GEDevDesc? has no member named ?dev? javaGD.c: In function ?javaGDresize?: javaGD.c:269: error: ?GEDevDesc? has no member named ?dev? javaGD.c: In function ?javaGDgetSize?: javaGD.c:307: error: ?GEDevDesc? ha...
2004 Nov 18
1
Declaration of RuleThickness() in src/main/plotmath.c (PR#7380)
...O +e -c plotmath.c -o plotmath.o Error 181: "plotmath.c", line 255 # Expected 0 argument(s) for "double RuleThickness()"; had 2 instead. + 3.51 * RuleThickness(gc, dd) It would appear that the function definition should include the argument (R_GE_gcontext *gc, GEDevDesc *dd), like in the other functions that are defined around there.
2014 Sep 19
1
Pointer ownership with GECreateDevDesc/GEDestroyDevDesc
According to the "R Internals" document, for a custom device, I should create a pDevDesc structure that gets passed to GECreateDevDesc. ..elided... pDevDesc dev; /* Allocate and initialize the device driver data */ if (!(dev = (pDevDesc) calloc(1, sizeof(DevDesc)))) return 0; /* or error() */ /* set up device driver or free ?dev? and error() */ gdd = GEcreateDevDesc(dev);
2003 Jul 07
0
feature enhancement request & patch: dev.control(displaylist='en (PR#3424)
...in/graphics.c 2003-02-04 10:19:52.000000000 = -0500=0A= +++ R-patched-grw/src/main/graphics.c 2003-07-07 11:16:39.000000000 = -0400=0A= @@ -6121,3 +6121,12 @@=0A= else=0A= dd->displayListOn =3D FALSE;=0A= }=0A= +=0A= +void enableDisplayList(DevDesc *dd)=0A= +{=0A= + GEinitDisplayList((GEDevDesc*) dd);=0A= + if (dd->newDevStruct)=0A= + ((GEDevDesc*) dd)->dev->displayListOn =3D TRUE;=0A= + else=0A= + dd->displayListOn =3D TRUE;=0A= +}=0A= diff -ur R-patched/src/main/names.c R-patched-grw/src/main/names.c=0A= --- R-patched/src/main/names.c 2003-03-22 21:13:18.000000000 -050...
2008 Jan 28
0
Notes for writers of graphics devices
...sEngine.h or GraphicsDevice.h so that add-on packages * that compile against these headers (graphics systems such as * graphics and grid; graphics devices such as gtkDevice, RSvgDevice) * can detect any version mismatch. * * Version 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 me...
2005 Jun 11
2
italic (PR#7932)
Full_Name: G. Grothendieck Version: R version 2.1.0, 2005-05-14 OS: Windows XP Submission from: (NULL) (216.59.254.207) This code: > plot(1:10) > text(5,5,lab=expression(italic(22*"33"))) has the effect of italicizing 33 (which is a character string) but not 22 (which is not). I would have thought that both, not just 33, would be italicized. I had previously posted about this
2005 Apr 02
2
Building new graphic device drivers with g++
...p. Type 'q()' to quit R. > dyn.load("devNull.so") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/home/mmmm/R/devNull/src/devNull.so": /home/mmmm/R/devNull/src/devNull.so: undefined symbol: _Z17GEinitDisplayListP10_GEDevDesc > I probably need to link to some "libR.a" module. But where is it? In windows R uses -lR switch but I cannot find that library file in my Fedora Core 3 distribution. Is there a file that defines the compiler switches for R CMD SHLIB compiling? Here is an example code: =devNull.cpp...