def processSVGElementline(elementNode, svgReader):
 begin = euclidean.getComplexDefaultByDictionaryKeys(complex(), elementNode.attributes, 'x1', 'y1')
 end = euclidean.getComplexDefaultByDictionaryKeys(complex(), elementNode.attributes, 'x2', 'y2')
 loopLayer = svgReader.getLoopLayer()
 loopLayer.loops += getTransformedOutlineByPath(elementNode, [begin, end], svgReader.yAxisPointingUpward)

def processSVGElementline ( elementNode , svgReader ) : begin = euclidean . getComplexDefaultByDictionaryKeys ( complex ( ) , elementNode . attributes , 'x1' , 'y1' ) end = euclidean . getComplexDefaultByDictionaryKeys ( complex ( ) , elementNode . attributes , 'x2' , 'y2' ) loopLayer = svgReader . getLoopLayer ( ) loopLayer . loops += getTransformedOutlineByPath ( elementNode , [ begin , end ] , svgReader . yAxisPointingUpward )
process xmlelement by svgreader .