Skip to main content

Module svg_backend

Module svg_backend 

Source
Expand description

A self-contained SVG DrawBackend — a second backend (no plotters), proving the DrawBackend abstraction: the same PlotRenderer drives it.

It emits SVG elements directly, so SVG output needs no glyph rasterization (text is <text> with font attributes the viewer renders).

Structs§

SvgBackend
Accumulates SVG markup for a plot rendered via DrawBackend.