Learn R Programming

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

grImport2 (version 0.1-5)

Importing 'SVG' Graphics

Description

Functions for importing external vector images and drawing them as part of 'R' plots. This package is different from the 'grImport' package because, where that package imports 'PostScript' format images, this package imports 'SVG' format images. Furthermore, this package imports a specific subset of 'SVG', so external images must be preprocessed using a package like 'rsvg' to produce 'SVG' that this package can import. 'SVG' features that are not supported by 'R' graphics, e.g., gradient fills, can be imported and then exported via the 'gridSVG' package.

Copy Link

Version

Install

install.packages('grImport2')

Monthly Downloads

3,081

Version

0.1-5

License

GPL (>= 2)

Maintainer

Paul Murrell

Last Published

May 6th, 2019

Functions in grImport2 (0.1-5)

PathMoveTo-class

Class "PathMoveTo"
PathSegment-class

Class "PathSegment"
PictureFeColorMatrix-class

Class "PictureFeColorMatrix"
PictureFilter-class

Class "PictureFilter"
PictureSymbol-class

Class "PictureSymbol"
PicturePath-class

Class "PicturePath"
Picture-class

Class "Picture"
applyTransform-gpar

Transform a grid gpar object
PathClosePath-class

Class "PathClosePath"
PathCurveTo-class

Class "PathCurveTo"
PathData-class

Class "PathData"
PictureRect-class

Class "PictureRect"
PictureSummary-class

Class "PictureSummary"
PictureClipPath-class

Class "PictureClipPath"
PicturePattern-class

Class "PicturePattern"
PictureImage-class

Class "PictureImage"
PictureLinearGradient-class

Class "PictureLinearGradient"
PictureRadialGradient-class

Class "PictureRadialGradient"
Path Segments

Convenience Functions for Path Segments
grid.symbols

Draw a Picture Object as Data Symbols
grobify

Convert a Picture Object into a grid grob
PathLineTo-class

Class "PathLineTo"
applyTransform

Transform a Picture Object by a Transformation Matrix
grid.picture

Draw a Picture Object.
readPicture

Import a Cairo SVG image
PictureGradientStop-class

Class "PictureGradientStop"
PictureGroup-class

Class "PictureGroup"
PictureDefinitions-class

Class "PictureDefinitions"
PictureContent-class

Class "PictureContent"
PictureMask-class

Class "PictureMask"