Lines Matching refs:width
12 self.OptionParser.add_option("-w", "--width", action="store", type="int", dest="desktop_width", default="100", help="Custom width")
18 width = self.options.desktop_width
20 if height == 0 | width == 0:
22 factor = float(width)/float(height)
27 root.set("width", str(width))
29 root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
34 clipPathRect[0].set("width", str(width))
48 designZone[0].set("transform", "scale(" + str(width/100.0) + "," + str(height/100.0) + ")")
49 designZone[1].set("transform", "scale(" + str(width /100.0) + "," + str(height/100.0) + ")")
67 previewText[0].set("transform", "translate(" + str(width * 2) + ",0) scale(" + str(width/100.0) + "," + str((height/100.0) * factor) + ")")
69 previewText[0].set("transform", "translate(" + str(width * 2) + ",0) scale(" + str((width/100.0)/factor) + "," + str(height/100.0) + ")")
75 infoGroup[0].set("transform", "scale(" + str(width/100.0) + "," + str((height/100.0) * factor) + ")")
77 infoGroup[0].set("transform", "scale(" + str(width/1000.0) + "," + str((height/1000.0) * factor) + ")")
82 pattern1[0].set("transform", "translate(" + str(-width) + "," + str(-height) + ")")
83 pattern1[1].set("transform", "translate(" + str(-width) + "," + str(-height) + ")")
94 pattern3[0].set("transform", "translate(" + str(width) + "," + str(-height) + ")" )
95 pattern3[1].set("transform", "translate(" + str(width) + "," + str(-height) + ")" )
100 pattern4[0].set("transform", "translate(" + str(-width) + ",0)" )
101 pattern4[1].set("transform", "translate(" + str(-width) + ",0)" )
112 pattern6[0].set("transform", "translate(" + str(width) + ",0)" )
113 pattern6[1].set("transform", "translate(" + str(width) + ",0)" )
118 pattern7[0].set("transform", "translate(" + str(-width) + "," + str(height) + ")" )
119 pattern7[1].set("transform", "translate(" + str(-width) + "," + str(height) + ")" )
130 pattern9[0].set("transform", "translate(" + str(width) + "," + str(height) + ")" )
131 pattern9[1].set("transform", "translate(" + str(width) + "," + str(height) + ")" )
146 clonePreview3[0].set("transform", "translate(" + str(width) + ",0)" )
151 clonePreview4[0].set("transform", "translate(" + str(width) + "," + str(height) + ")" )
156 clonePreview5[0].set("transform", "translate(" + str(width) + "," + str(height * 2) + ")" )
161 clonePreview6[0].set("transform", "translate(" + str(width*2) + ", 0)" )
166 clonePreview7[0].set("transform", "translate(" + str(width*2) + "," + str(height) + ")" )
171 clonePreview8[0].set("transform", "translate(" + str(width*2) + "," + str(height*2) + ")" )
176 patternGenerator[0].set("transform", "translate(" + str(width * 2) + ",-" + str(height) + ")" )
177 patternGenerator[0].set("{http://www.inkscape.org/namespaces/inkscape}tile-cx", str(width/2))
179 patternGenerator[0].set("{http://www.inkscape.org/namespaces/inkscape}tile-w", str(width))
181 patternGenerator[0].set("{http://www.inkscape.org/namespaces/inkscape}tile-x0", str(width))
183 patternGenerator[0].set("width", str(width))
192 namedview.set(inkex.addNS('cx', 'inkscape'), str((width*5.5)/2.0) )
194 namedview.set(inkex.addNS('zoom', 'inkscape'), str(1.0 / (width/100.00)) )