add_fragment svg frag adds the fragment frag to the svg document svg
add_fragment svg frag
frag
svg
adds a newline in the source of the svg document
closes the root svg tag
return the result svg document as a string
initialises a new svg fragment (useful for example to simulate layers)
accepted values for the unit parameter can be: "px", "cm", "mm", "em", "ex", "in", "pt", "pc"
unit
prints the result svg document to stdout
format parameters for the style parameter of the shapes functions
style
write the result svg document to a file