Learn R Programming

gridSVG (version 1.5-0)

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

8,958

Version

1.5-0

License

GPL

Maintainer

Last Published

November 16th, 2015

Functions in gridSVG (1.5-0)

Filter Inputs

Identifies input for a filter effect primitive.
feMorphology

"Fatten" or "thin" artwork.
grid.mask

Apply an opacity mask to a grid grob.
gridSVG.newpage

Move to a New Page on a gridSVG Device
grid.filter

Associate a filter effect with a grid grob.
listSVGDefinitions

List All Reference Definitions
grid.hyperlink

Associate a hyperlink with a grid grob
setSVGoptions

Get and Set Global Options
registerFilter

Create the definition a filter effect.
grid.garnish

Associate arbitrary SVG attributes with a grid grob
grid.element

Create a grid grob representing an SVG element
Gradient Objects

Create Linear and Radial Gradients
Clipping Paths

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

Apply a clipping path to a grid grob.
feDisplacementMap

Displace pixel values from a filter input.
fe

Creating a generic filter effect
pushClipPath

Apply a clipping context to the current viewport.
popContext

Leaving A Modified Viewport Context
feBlend

Blend two objects together.
Coordinate System Import/Export

Importing an external coordinate system
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
feFlood

Create and fill a rectangular region.
grid.script

Create a grid grob containing an SVG script
grid.animate

Animate a grid grob
grid.export

Generate SVG output from a grid graphic
feOffset

Offset an input image relative to its current position.
gridsvg

gridSVG Graphics Device
feTile

Fill a rectangle with a tiled pattern of an input image.
Import Coordinate JS

Importing JavaScript coordinate information.
feComponentTransfer

Perform Colour Component-wise Remapping.
primToDev

Convert a grob to device calls
Opacity Masks

Create the definition of an opacity mask.
feConvolveMatrix

Apply a matrix convolution filter effect.
feSpecularLighting

Light an image using the alpha channel as a bump map.
grid.gradientFill

Associate a gradient fill with a grid grob
feDiffuseLighting

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

Combine images using Porter-Duff operations.
Mapping Names to IDs

Mapping Viewport, Grob and Reference Names to SVG IDs
pushMask

Apply a masking context to the current viewport.
feMerge

Composite image layers together.
feTurbulence

Create an image using the Perlin turbulence function.
Pattern Fills

Create a definition of a fill pattern.
animUnit

Generate a set of animation values.
animate

Convert animation specifications to SVG elements.
feGaussianBlur

Apply a Gaussian blur to an image.
viewportCreate

Recreate a viewport from imported coordinate information.
feColorMatrix

Apply a matrix transformation on colour values.
grid.comment

Create a grid grob representing a comment
Coordinate Conversion Functions

Functions for using an imported coordinate system
feImage

Draw a referred image.
fePointLight

Create a Point Light Source
feSpotLight

Create a Spot Light Source
feDistantLight

Create a Distant Light Source
getSVGFonts

Manage SVG fonts
grobToDev

Convert a grob to device calls
filterEffect

Creating Filter Effects
garnish

Convert animation specifications to SVG elements.
grid.patternFill

Associate a pattern fill with a grid grob
Gradient Fills

Create a definition of a gradient fill.
Import Mappings JS

Importing JavaScript mapping information.
svg-internal

Internal gridSVG Functions