line rotation around a point is relative. To fix the rotation center you should define the beginning of the line to be the x, y coordinates of the same line