示例#1
0
 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
示例#2
0
 def __init__(self, **attr):
     GroupableElement.__init__(self, name='defs', **attr)
示例#3
0
文件: defs.py 项目: Koperj/SahanaEden
 def __init__ (self, **attr):
     GroupableElement.__init__ (self, name = 'defs', **attr)
示例#4
0
 def __init__(self, **attr):
     GroupableElement.__init__(self, name='symbol', **attr)
     if attr.has_key('viewBox'):
         self.viewBox = attr['viewBox']
     else:
         self.viewBox = None