def __init__ (self, **attr): GroupableElement.__init__ (self, name = 'svg', **attr) BoxElement.__init__ (self, name = 'svg', **attr) if attr.has_key ('viewBox'): self.viewBox = attr['viewBox'] else: self.viewBox = None
def __init__(self, **attr): GroupableElement.__init__(self, name='defs', **attr)
def __init__ (self, **attr): GroupableElement.__init__ (self, name = 'defs', **attr)
def __init__(self, **attr): GroupableElement.__init__(self, name='symbol', **attr) if attr.has_key('viewBox'): self.viewBox = attr['viewBox'] else: self.viewBox = None