Lines Matching refs:set
98 barcode.set('id', name)
99 barcode.set('style', 'fill: black;')
101 barcode.set('transform', 'translate(%d,%d) scale(%f)' % (
104 barcode.set('transform', 'translate(%d,%d)' % (
109 tops = set()
121 rect.set('x', str(bar_offset))
122 rect.set('y', str(style['top']))
124 rect.set('y', str(style['top'] + self.font_size))
125 rect.set('id', "%s_bar%d" % (name, bar_id))
126 rect.set('width', str(width))
127 rect.set('height', str(style['height']))
138 text.set('x', str(int(bar_width / 2)))
139 text.set('y', str(min(tops) + self.font_size - 1))
141 text.set('y', str(self.height + max(tops) + self.font_size))
142 text.set('style', TEXT_TEMPLATE % self.font_size)
143 text.set('{http://www.w3.org/XML/1998/namespace}space', 'preserve')
144 text.set('id', '%s_text' % name)