Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
main class: representation of an SVG drawing

constructor:
    SVG (width, height[, unit[, view_box]])

src/s/v/svgobject-0.1/test/svgobjecttest.py   svgobject(Download)
from svgobject import svg, view
 
doc = svg.SVG(640, 300, view_box=(-100, -100, 840, 500))
r = svg.Rect(doc, 0, 0, 639, 299, svg.Style(fill="#cccccc", stroke="#0000ff", stroke_width=1))
g = svg.Group(doc, translate=(80,50), style=svg.Style(font_family="Arial,Helvetica,sans-serif"))