Guest User

Untitled

a guest
Jul 16th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. dwg = svgwrite.Drawing(filename, (width, height), debug=True)
  2. dwg.defs.add(dwg.style(_serialize_css_dict(css)))
  3. args = {
  4. 'insert': (0, 0),
  5. 'size': ('100%', '100%'),
  6. 'class': 'background'
  7. }
  8. r = svgwrite.shapes.Rect(**args)
  9. dwg.add(r)
Add Comment
Please, Sign In to add comment