Capture contents of an image backend or a display list snapshot.
Cairo.capture
is essentially the same as
dev.capture(native=TRUE)
with the exception that it works where
dev.capture
doesn't such as onSave
callbacks.
Cairo.snapshot
is very similar to recordPlot
except it
also allows to retrieve the last snapshot.
Cairo.capture(device = dev.cur()) Cairo.snapshot(device = dev.cur(), last=FALSE)
device |
device number or an object of the class |
last |
logical, if |
Cairo.capture
: object of the class nativeRaster
.
Cairo.snapshot
: object of the class recordedplot
.
Simon Urbanek
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.