Learn R Programming

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

Cairo (version 1.5-4)

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

This package provides a Cairo graphics device that can be use 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

55,681

Version

1.5-4

License

GPL-2

Maintainer

Simon Urbanek

Last Published

December 14th, 2013

Functions in Cairo (1.5-4)

Cairo.capture

Capture contents of an image backend.
CairoFonts

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

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

Reports which output types are supported by this Cairo build
CairoFonMatch

Find installed fonts with a fontconfig pattern
Cairo.onSave

Cairo callbacks
Cairo

Create a new Cairo-based graphics device