Lines Matching refs:setval
163 def stroke_width(self, elem, setval=None):
171 if stroke and setval is None:
174 if setval:
175 style['stroke-width'] = str(setval)
195 def transform(self, elem, setval=None, parent_transform=None):
196 """ Gets this element's transform. Use setval=matrix to
209 if setval:
210 elem.attrib['transform'] = simpletransform.formatTransform(setval)
247 def pathxy(self, path, i, setval=None):
257 if setval: path[i][1][0] = setval[0]
261 if setval: path[i][1][0] = setval[1]
264 if setval and segtype != 'z':
265 path[i][1][-2] = setval[0]
266 path[i][1][-1] = setval[1]
271 if setval is None: return [x, y]