On Thu, 29 Jan 2009, Sigbert Klinke wrote:
Hi,
I know that some graphics devices in R store graphics primitives such that a
redraw is possible (e.g. when resizing the window). Is it possible to get the
current number of stored graphic primitives?
That's not what happens: the graphics engine stores a display list for
the current device (if enabled), this being a set of graphics calls.
Devices repaint from either backing store or asking the engine to
replay the display list.
See ?dev.control. There is no public API to the display list, but of
course you can interrogate it by C code, with the usual risks.
Thanks in advance
Sigbert Klinke
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
This looks very like a programming question for R-devel: it *is* about
R's internals.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.