Learn R Programming

Cairo (version 1.5-4)

Cairo.capture: Capture contents of an image backend.

Description

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.

Usage

Cairo.capture(device = dev.cur())

Arguments

device
device number or an object of the class Cairo (as obtained from the Cairo function).

Value

  • Object of the class nativeRaster.