Description Usage Arguments Details Note Author(s) See Also Examples
Various utilities for reading and creating svg files for use with inkscape
1 2 3 4 |
filename |
Name of a file to be read by |
safe |
Boolean, with default |
k, oldfile, regex1, regex2 |
Various arguments sent to
|
Function reader()
is the way to get started with a new
knot. This takes a filename which is an .svg
file created with
inkscape. Instructions for creating a suitable inkscape file are
given in knotR-package.Rd
.
Inkscape's default is to use a mixture of absolute and relative
coordinates. Function reader()
assumes that the .svg
file uses only absolute coordinates.
To ensure that only absolute coordinates are used, open the ‘SVG output’ menu in ‘inkscape preferences’ and uncheck the “Allow relative coordinates” option.
The format of .svg
file is described in the W3C recommendation
(2011) for Scalable Vector Graphics (SVG) 1.1, second edition.
Robin K. S. Hankin
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.