This function takes an SVG representation of a graphic and sends it to the
AxiDraw penplotter for drawing. This function uses the build-in svg drawing
capabilities of the pyaxidraw library so rendering an svg with
grDevices::svg()
and then using axi_svg
to draw it will likely produce
a different result than rendering directly to axi_dev()
.
axi_svg( file, capture = FALSE, options = axi_options(), layer = NULL, copies = 1L, page_delay = 15, auto_rotate = TRUE, rendering = "all", reorder = "none", summary = FALSE, text )
file | An svg file |
---|---|
capture | Logical. Should the drawing instructions be captured and returned as a new svg. |
options | An |
layer | The layer to plot when |
copies | The number of copies to produce |
page_delay | The delay in seconds between each copy |
auto_rotate | Automatically rotate the image to maximize paper usage |
rendering | The type of preview to generate when |
reorder | The type of automatical line reordering to perform. Either
|
summary | Should time spend and distance travel be reported in the end |
text | An svg as a character vector. |
If capture = TRUE
a new svg showing the pen plotter movement that
will be used for drawing.