Learn R Programming

⚠️There's a newer version (1.6-2) of this package.Take me there.

Cairo (version 1.5-11)

R Graphics Device using Cairo Graphics Library for Creating High-Quality Bitmap (PNG, JPEG, TIFF), Vector (PDF, SVG, PostScript) and Display (X11 and Win32) Output

Description

R graphics device using cairographics library that can be used to create high-quality vector (PDF, PostScript and SVG) and bitmap output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11 and Win32). Since it uses the same back-end for all output, copying across formats is WYSIWYG. Files are created without the dependence on X11 or other external programs. This device supports alpha channel (semi-transparent drawing) and resulting images can contain transparent and semi-transparent regions. It is ideal for use in server environments (file output) and as a replacement for other devices that don't have Cairo's capabilities such as alpha support or anti-aliasing. Backends are modular such that any subset of backends is supported.

Copy Link

Version

Install

install.packages('Cairo')

Monthly Downloads

29,239

Version

1.5-11

License

GPL-2

Maintainer

Last Published

March 9th, 2020

Functions in Cairo (1.5-11)

CairoFonts

Set the fonts used for all Cairo graphics devices.
Cairo.onSave

Cairo callbacks
Cairo

Create a new Cairo-based graphics device
Cairo.serial

Check for changes in the graphics state of Cairo devices.
Cairo.capture

Capture contents of an image backend or a display list snapshot.
Cairo.capabilities

Reports which output types are supported by this Cairo build
CairoFonMatch

Find installed fonts with a fontconfig pattern