Lines Matching refs:set
22 guide.set("orientation", orientation)
23 guide.set("position", str(x)+","+str(y))
24 # No need to set label (causes translation problems, etc.)
25 # guide.set(inkex.addNS('label', 'inkscape'), label)
41 self.root.set("id", "SVGRoot")
42 self.root.set("width", str(width) + 'mm')
43 self.root.set("height", str(height) + 'mm')
44 self.root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
50 namedview.set(inkex.addNS('document-units', 'inkscape'), "mm")
53 namedview.set(inkex.addNS('cx', 'inkscape'), str(self.uutounit( width, 'px' )/2.0 ) )
54 namedview.set(inkex.addNS('cy', 'inkscape'), str(self.uutounit( height, 'px' )/2.0 ) )