search for: newdevdesc

Displaying 10 results from an estimated 10 matches for "newdevdesc".

Did you mean: new_dev_desc
2005 Apr 02
2
Building new graphic device drivers with g++
...=========================== ====================== #include <R.h> #include <Rinternals.h> #include <Rgraphics.h> #include <Rdevices.h> #include <R_ext/GraphicsDevice.h> #include <R_ext/GraphicsEngine.h> extern "C" { static Rboolean nullDeviceDriver(NewDevDesc *dev); SEXP do_devNULL() { NewDevDesc *dev = NULL; GEDevDesc *dd; R_CheckDeviceAvailable(); if (!(dev = (NewDevDesc *) calloc(1, sizeof(NewDevDesc)))) return R_NilValue; dev->displayList = R_NilValue; if (!nullDeviceDriver(dev)) { free(dev); error(...
2006 Nov 07
2
Crash when embedding R X11 windows
...while(XCheckTypedEvent(display, Expose, &event)) ; - XFindContext(display, event.xexpose.window, - devPtrContext, &temp); + if (XFindContext(display, event.xexpose.window, + devPtrContext, &temp)) return; dd = (NewDevDesc *) temp; if (event.xexpose.count == 0) do_update = 1; @@ -595,8 +595,8 @@ else if (event.type == ConfigureNotify) { while(XCheckTypedEvent(display, ConfigureNotify, &event)) ; - XFindContext(display, event.xconfigure.window, -...
2008 Jun 03
2
JGR / linux
...sr/lib/jvm/java-6-sun-1.6.0.03/jre/../include -I/usr/lib/jvm/java-6-sun-1.6.0.03/jre/../include/linux -Iinclude -fpic -g -O2 -c javaGD.c -o javaGD.o In file included from javaGD.h:12, from javaGD.c:23: /usr/share/R/include/R_ext/GraphicsEngine.h:150: error: expected specifier-qualifier-list before ?NewDevDesc? /usr/share/R/include/R_ext/GraphicsEngine.h:224: error: expected ?)? before ?*? token /usr/share/R/include/R_ext/GraphicsEngine.h:231: error: expected declaration specifiers or ?...? before ?NewDevDesc? javaGD.c: In function ?Rf_addJavaGDDevice?: javaGD.c:215: warning: implicit declaration of func...
2005 May 06
0
Embedding x11-window causes R to segfault
...lt. I'm no x11 guru at all, but the bug report referenced gives a plausible explanation of what might be the cause. That bug-report also contains a patch to fix the issue. For all I can see, that patch should still be applicable to current sources with only minimal adaptations (DevDesc -> newDevDesc, etc.). Is there any chance this will be taken care of in one of the next releases? Or are there issues that make inclusion in soon-to-come releases unlikely? I'm asking, as in the latter case, I'd have to look into different solutions for my application. Thanks! Thomas Friedrichsmeier
2003 Oct 23
1
Ask for information about device architecture
Hello. I'm looking for documentation about the graphic device model in R. I would understand it in the details, but it seems a bit complex :) Thanks for any documents which will help me. Laurent
2008 Mar 29
1
A patch for extending pdf device to embed popup text and web links
...gt;fontfamily, PDFFonts, pd->defaultCIDFont) && face != 5) { /* NB we could be in a SBCS here */ unsigned char *buf = NULL /* -Wall */; *************** *** 7048,7053 **** --- 7116,7146 ---- } #endif + static void PDF_StrSize(const char *str, + R_GE_gcontext *gc, + NewDevDesc *dd, + double* ascent_max, + double* descent_max, + double* width_sum) + { + PDFDesc *pd = (PDFDesc *) dd->deviceSpecific; + int face = gc->fontface; + double ascent, descent, width; + int i, n; + + *ascent_max = 0.0; + *descent_max = 0.0; + *width_sum = 0...
2008 Oct 20
2
R 2.8.0 is released
...ols' checks on the body of S4 methods. C-LEVEL FACILITIES o R_ReadConsole will now be called with a buffer size of 4096 bytes (rather than 1024): maintainers of alternative front-ends should check that they do not have a smaller limit. o Graphics structure NewDevDesc has been renamed to DevDesc. For now there is a compatibility define in GraphicsDevice.h, but it will be removed in R 2.9.0. o PROTECT and UNPROTECT macros now work even with R_NO_REMAP. BUG FIXES o @ now gives an error (and not just a warning) if it is being...
2008 Oct 20
2
R 2.8.0 is released
...ols' checks on the body of S4 methods. C-LEVEL FACILITIES o R_ReadConsole will now be called with a buffer size of 4096 bytes (rather than 1024): maintainers of alternative front-ends should check that they do not have a smaller limit. o Graphics structure NewDevDesc has been renamed to DevDesc. For now there is a compatibility define in GraphicsDevice.h, but it will be removed in R 2.9.0. o PROTECT and UNPROTECT macros now work even with R_NO_REMAP. BUG FIXES o @ now gives an error (and not just a warning) if it is being...
2009 Apr 17
0
R 2.9.0 is released
...ry dense scatter plots and uses density estimation and color to reflect density of plotting. DEPRECATED & DEFUNCT o allGenerics() is defunct. o Use of allocVector(CHARSXP ...) is defunct and gives an error. o The compatibility define for graphics structure NewDevDesc in GraphicsDevice.h has been removed. o Support for versioned installs (R CMD INSTALL --with-package-versions and install.packages(installWithVers = TRUE)) has been removed. Packages installed with versioned names will be ignored. o The numeric and power(0.5) f...
2009 Apr 17
0
R 2.9.0 is released
...ry dense scatter plots and uses density estimation and color to reflect density of plotting. DEPRECATED & DEFUNCT o allGenerics() is defunct. o Use of allocVector(CHARSXP ...) is defunct and gives an error. o The compatibility define for graphics structure NewDevDesc in GraphicsDevice.h has been removed. o Support for versioned installs (R CMD INSTALL --with-package-versions and install.packages(installWithVers = TRUE)) has been removed. Packages installed with versioned names will be ignored. o The numeric and power(0.5) f...