readPicture: Import a Cairo SVG image

Description Usage Arguments Value Author(s)

View source: R/import.R

Description

This function reads in a Cairo SVG image file (produced by convertPicture from the grConvert package) and creates a "Picture" object.

Usage

1

Arguments

file

The filename of a Cairo SVG image.

warn

Logical. If TRUE, this will warn if file was not created by grConvert. This is not strictly necessary if the image is known to be generated by Cairo.

Value

An object of class "Picture".

Author(s)

Simon Potter


sjp/grImport2 documentation built on May 30, 2019, 12:06 a.m.