def processSVGElementpolyline(svgReader, xmlElement):
 if ('points' not in xmlElement.attributeDictionary):
  print 'Warning, in processSVGElementpolyline in svgReader can not get a value for d in:'
  print xmlElement.attributeDictionary
  return
 rotatedLoopLayer = svgReader.getRotatedLoopLayer()
 words = getRightStripMinusSplit(xmlElement.attributeDictionary['points'].replace(',', ' '))
 path = []
 for wordIndex in xrange(0, len(words), 2):
  path.append(euclidean.getComplexByWords(words[wordIndex:]))
 rotatedLoopLayer.loops += getTransformedOutlineByPath(path, xmlElement, svgReader.yAxisPointingUpward)

def processSVGElementpolyline ( svgReader , xmlElement ) : if ( 'points' not in xmlElement . attributeDictionary ) : print 'Warning, in processSVGElementpolyline in svgReader can not get a value for d in:' print xmlElement . attributeDictionary return rotatedLoopLayer = svgReader . getRotatedLoopLayer ( ) words = getRightStripMinusSplit ( xmlElement . attributeDictionary [ 'points' ] . replace ( ',' , ' ' ) ) path = [ ] for wordIndex in xrange ( 0 , len ( words ) , 2 ) : path . append ( euclidean . getComplexByWords ( words [ wordIndex : ] ) ) rotatedLoopLayer . loops += getTransformedOutlineByPath ( path , xmlElement , svgReader . yAxisPointingUpward )
process elementnode by svgreader .