52
52
if len( self.selected ) > 0:
54
54
svg = self.document.getroot()
58
59
#it returns a comma seperated list structured id,x,y,w,h
60
61
p = Popen('inkscape --query-all "%s"' % (file), shell=True, stdout=PIPE, stderr=PIPE)
70
74
#build a dictionary with id as the key
75
83
#find the center of all selected objects **Not the average!
76
84
x,y,w,h = dimen[self.selected.keys()[0]]