Versions in this module Expand all Collapse all v1 v1.0.2 Jan 14, 2024 v1.0.1 Jan 9, 2024 Changes in this version + var DefaultOptions = Options + type Options struct + Compression int + EmbedFonts bool + SubsetFonts bool + type SVG struct + func New(w io.Writer, width, height float64, opts *Options) *SVG + func (r *SVG) AddClass(class string) + func (r *SVG) Close() error + func (r *SVG) RemoveClass(class string) + func (r *SVG) RenderImage(img image.Image, m canvas.Matrix) + func (r *SVG) RenderPath(path *canvas.Path, style canvas.Style, m canvas.Matrix) + func (r *SVG) RenderText(text *canvas.Text, m canvas.Matrix) + func (r *SVG) SetClass(classes ...string) + func (r *SVG) SetImageEncoding(enc canvas.ImageEncoding) + func (r *SVG) Size() (float64, float64)