pix 0.7: Reference Manual

::pix::svgTop, Main, Index

Load, parse, render SVG.

CommandsTop, Main, Index

destroy [::pix::svg]Top, Main, Index

Destroy current svg or all svgs if special word all is specified.

destroy value
Parameters
valuesvg::parse or string.
Return value

Nothing.

newImage [::pix::svg]Top, Main, Index

Render SVG and return the image.

newImage svg
Parameters
svgsvg::parse
Return value

A new img object.

parse [::pix::svg]Top, Main, Index

Parse SVG XML. Defaults to the SVG's view box size.

parse svg ?size?
Parameters
svgstring data
sizelist width,height Optional, default SVGviewbox.
Return value

A new svg object.