| svg_to_rasterGrob | R Documentation |
grid rasterGrob objectConvert SVG to a grid rasterGrob object
svg_to_rasterGrob(svg_text, width = NULL, height = NULL, css = NULL, ...)
svg_text |
character string containing valid SVG |
width, height |
output width,height in pixels or |
css |
character string containing CSS text. This requires your system has a recent version of librsvg. |
... |
other arguments passed to 'grid::rasterGrob()'. |
grid::rasterGrob() object containing the
nativeRaster returned from rsvg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.