Lines Matching refs:units
13 -u, --units - mm, inches, px, m (default mm)
14 -w, --page_width - page width in units (default 216)
15 -h, --page_height - page height in units (default 279)
25 def __init__(self, cols,rows,output,units,square_size,radius_rate,page_width,page_height):
29 self.units = units
61 c = canvas(self.g,width="%d%s"%(self.width,self.units),height="%d%s"%(self.height,self.units),viewBox="0 0 %d %d"%(self.width,self.height))
69 "type=","units=","square_size=","radius_rate=",
79 units = "mm"
97 elif o in ("-u", "--units"):
98 units = a
107 pm = PatternMaker(columns,rows,output,units,square_size,radius_rate,page_width,page_height)