Lines Matching refs:query
107 # query inkscape about the bounding box
117 for query in q.keys():
119 p = Popen('inkscape --query-%s --query-id=%s "%s"' % (query,id,file), shell=True, stdout=PIPE, stderr=PIPE)
121 q[query] = scale*float(p.stdout.read())
124 f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
125 q[query] = scale*float(f.read())