Files
context-continuity/venv.old-py38/lib/python3.9/site-packages/wavedrom/base.py
T

22 lines
594 B
Python
Raw Normal View History

# Copyright wavedrompy contributors.
# SPDX-License-Identifier: MIT
import svgwrite
from .attrdict import AttrDict
class SVGBase(object):
container = AttrDict({
"defs": svgwrite.container.Defs,
"g": svgwrite.container.Group,
"marker": svgwrite.container.Marker,
"use": svgwrite.container.Use,
})
element = AttrDict({
"rect": svgwrite.shapes.Rect,
"path": svgwrite.path.Path,
"text": svgwrite.text.Text,
"tspan": svgwrite.text.TSpan,
"title": svgwrite.base.Title,
"line": svgwrite.shapes.Line,
})