Lines Matching refs:elem
37 # remove namespace part from "{http://www.w3.org/2000/svg}elem"
40 def get_gradient_defs(self, elem):
41 url_id = elem.get_gradient_href()
55 def get_clip_defs(self, elem):
56 if elem.has_clip():
70 # creates a instance of 'elem'
71 # similar to 'elem = Rect(tag, node, ctx)'
72 elem = getattr(svg, class_name)(tag, node, self.canvas)
73 if elem.has_gradient():
74 gradient = self.get_gradient_defs(elem)
75 elem.start(gradient)
76 elem.draw()
78 elem.end()