Skip to main content

svg

Function svg 

pub fn svg(payload: &str) -> Result<String, String>
Expand description

payload as SVG markup, for a page that shows the code as an image: the same matrix the widget paints, the quiet zone around it, and one path of dark modules in module units, so the markup scales to any size.

ยงErrors

The payload does not fit a code at [EcLevel::M]; the widget then shows the same reason inline.