Learn R Programming

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

gridSVG (version 1.4-2)

Export grid Graphics as SVG

Description

Functions to export graphics drawn with package grid to SVG format. Additional functions provide access to SVG features that are not available in standard R graphics, such as hyperlinks, animation, filters, masks, clipping paths, and gradient and pattern fills.

Copy Link

Version

Install

install.packages('gridSVG')

Monthly Downloads

12,706

Version

1.4-2

License

GPL

Maintainer

Paul Murrell

Last Published

December 17th, 2014

Functions in gridSVG (1.4-2)

animUnit

Generate a set of animation values.
feSpecularLighting

Light an image using the alpha channel as a bump map.
Filter Inputs

Identifies input for a filter effect primitive.
feConvolveMatrix

Apply a matrix convolution filter effect.
feDisplacementMap

Displace pixel values from a filter input.
feSpotLight

Create a Spot Light Source
Opacity Masks

Create the definition of an opacity mask.
Gradient Objects

Create Linear and Radial Gradients
feMerge

Composite image layers together.
feMorphology

"Fatten" or "thin" artwork.
Coordinate System Import/Export

Importing an external coordinate system
grid.clipPath

Apply a clipping path to a grid grob.
gridsvg

gridSVG Graphics Device
garnish

Convert animation specifications to SVG elements.
pushMask

Apply a masking context to the current viewport.
feComposite

Combine images using Porter-Duff operations.
feFlood

Create and fill a rectangular region.
filterEffect

Creating Filter Effects
grid.gradientFill

Associate a gradient fill with a grid grob
pushClipPath

Apply a clipping context to the current viewport.
viewportCreate

Recreate a viewport from imported coordinate information.
primToDev

Convert a grob to device calls
feDistantLight

Create a Distant Light Source
Pattern Fills

Create a definition of a fill pattern.
Import Coordinate JS

Importing JavaScript coordinate information.
popContext

Leaving A Modified Viewport Context
grid.filter

Associate a filter effect with a grid grob.
feBlend

Blend two objects together.
Coordinate Conversion Functions

Functions for using an imported coordinate system
feGaussianBlur

Apply a Gaussian blur to an image.
feColorMatrix

Apply a matrix transformation on colour values.
feTurbulence

Create an image using the Perlin turbulence function.
grid.hyperlink

Associate a hyperlink with a grid grob
feImage

Draw a referred image.
feTile

Fill a rectangle with a tiled pattern of an input image.
grid.script

Create a grid grob containing an SVG script
grid.comment

Create a grid grob representing a comment
feComponentTransfer

Perform Colour Component-wise Remapping.
grid.patternFill

Associate a pattern fill with a grid grob
fe

Creating a generic filter effect
Mapping Names to IDs

Mapping Viewport, Grob and Reference Names to SVG IDs
feDiffuseLighting

Light an image using the alpha channel as a bump map.
Clipping Paths

Create the definition of a non-rectangular clipping path.
grid.element

Create a grid grob representing an SVG element
getSVGFonts

Manage SVG fonts
animate

Convert animation specifications to SVG elements.
Gradient Fills

Create a definition of a gradient fill.
registerFilter

Create the definition a filter effect.
listSVGDefinitions

List All Reference Definitions
Retrieve Names Mapped to SVG IDs, CSS Selectors and XPath Expressions

Retrieving Viewport, Grob, and Reference Names as SVG IDs, CSS Selectors and XPath Expressions
grid.export

Generate SVG output from a grid graphic
grid.garnish

Associate arbitrary SVG attributes with a grid grob
Import Mappings JS

Importing JavaScript mapping information.
grid.mask

Apply an opacity mask to a grid grob.
feOffset

Offset an input image relative to its current position.
fePointLight

Create a Point Light Source
svg-internal

Internal gridSVG Functions
gridSVG.newpage

Move to a New Page on a gridSVG Device
setSVGoptions

Get and Set Global Options
grid.animate

Animate a grid grob
grobToDev

Convert a grob to device calls