svghmi/svghmi.py
branchsvghmi
changeset 2984 8c42504b6384
parent 2965 8f928cee01e5
child 2993 b76f303ffce6
equal deleted inserted replaced
2983:43198edb6ac0 2984:8c42504b6384
   480         # invoke inskscape -S, csv-parse output, produce elements
   480         # invoke inskscape -S, csv-parse output, produce elements
   481         InkscapeGeomColumns = ["Id", "x", "y", "w", "h"]
   481         InkscapeGeomColumns = ["Id", "x", "y", "w", "h"]
   482 
   482 
   483         inkpath = get_inkscape_path()
   483         inkpath = get_inkscape_path()
   484         svgpath = self._getSVGpath()
   484         svgpath = self._getSVGpath()
   485         _status, result, _err_result = ProcessLogger(None,
   485         _status, result, _err_result = ProcessLogger(self.GetCTRoot().logger,
   486                                                      inkpath + " -S " + svgpath,
   486                                                      inkpath + " -S " + svgpath,
   487                                                      no_stdout=True,
   487                                                      no_stdout=True,
   488                                                      no_stderr=True).spin()
   488                                                      no_stderr=True).spin()
   489         res = []
   489         res = []
   490         for line in result.split():
   490         for line in result.split():