search for: do_rect

Displaying 3 results from an estimated 3 matches for "do_rect".

Did you mean: do_recv
2008 Jul 26
1
the C function drawing a rectangle: heatmap() -> image() -> do_image() -> GRect() -> GERect() -> rect() -> do_rect() -> GRect() ??
Hello anyone used to do similar things: search for the final C function that corresponding to the drawing of a rectangle? As listed in the subject, I started from heatmap() in R and after several steps reached the GRect() in C. However, then it refers to rect() which further seems to refer to do_rect(), and then, surpringly, do_rect refers to GRect()!!! A dependency circle! How can it work if no functions soly taking the job for drawing a rectangle? I know there must be somewhere wrong in my above function "chain", and can you help me to find it out? Many thanks! ------------...
1997 May 11
2
R-alpha: Logarithmic scales
...e; GP->lty = INTEGER(lty)[i % nlty]; GStartPath(); GMoveTo(XMAP(xt(x0[i % nx0])), YMAP(yt(y0[i % ny0]))); GLineTo(XMAP(xt(x1[i % nx1])), YMAP(yt(y1[i % ny1]))); GEndPath(); } } 2) rect() does not work either. Unfortunately, do_rect() in "plot.c" overrides the yt() function... What about this (lines 983-1031): SEXP do_rect(SEXP call, SEXP op, SEXP args, SEXP env) { SEXP sxl, sxr, syb, sys, col, lty, border; double *xl, *xr, *yb, *ys; int i, n, nxl, nxr, nyb, nys; int ncol, nlty, nborder; int col...
2008 Dec 13
0
Using R graphics from external C functions
...ve R installed on a user's side. How difficult, if possible at all, would it be then to extract and compile all C code related to R graphics into a stand-alone library to link our user application to? So that in my own C code I call C-equivalents of R internal graphical functions, such as "do_rect" or "do_plot_xy". I assume that would include at least compiling the C code of standard packages "grDevices" and "graphics", but perhaps, it is much more than just that? I am afraid these packages would depend on the other core packages of R. Plus some other obst...