#NEWLINE# def __init__( self , point_left , point_right , parent = None ) : #NEWLINE# #INDENT# assert ( point_right . _scalar >= point_left . _scalar ) #NEWLINE# QtGui . QGraphicsPolygonItem . __init__ ( self , parent ) #NEWLINE# self . _point_left = point_left #NEWLINE# self . _point_right = point_right #NEWLINE# self . _point_left . _right_line = parent #NEWLINE# self . _point_right . _left_line = self #NEWLINE# self . setup ( 1.0 , 1.0 ) #NEWLINE# self . _sx = 1.0 #NEWLINE# self . _sy = 1.0