Moves the line to the point x,y

def moveToPoint(self, xxx_todo_changeme2):
        """
        Moves the line to the point x,y
        """
        (x,y) = xxx_todo_changeme2
        self.set_x1(float(self.get_x1()) + float(x))
        self.set_x2(float(self.get_x2()) + float(x))
        self.set_y1(float(self.get_y1()) + float(y))
        self.set_y2(float(self.get_y2()) + float(y))