first/function drawing lines with a mouse.