target xml_decl xmp () is an SVG render target for rendering to the stored destination given to
true(default) the XML declaration is output.
xmpis an optional UTF-8 encoded XML XMP metadata packet describing the SVG document (see ISO 16684-1 or the equivalent Adobe spec.). The convenience function
Vg.Vgr.xmpcan be used to generate a packet.
Multiple images. Multiple image renders on the target are not supported.
Invalid_argument is raised by
render if multiple images are rendered.
Warning. The following is subject to change in the future.
Currently text rendering uses SVG's CSS font selection mechanism and doesn't support the glyph API.
Given a glyph cut:
~text ~blocks ~advances font glyphs
glyphs parameters are ignored.
text must be provided and is used to define the text to render.
font is used to select the font in a CSS stylesheet.
The following render warnings are reported.
`Unsupported_cut (`O o, i), outline area cuts can be performed only on (possibly transformed)
`Unsupported_glyph_cut (a, i), glyph cuts can be performed only on (untransformed)
`Textless_glyph_cut iif no
textargument is specified in a glyph cut.
The following limitations should be taken into account.
- Generated SVG files do specify that gradient interpolation must be done in linear sRGB space, however many SVG viewers do not respect that directive (e.g. most browsers).