That is called antialiasing. When zoomed out it gives the appearance of a smooth line / curve. If you don't want antialiasing enabled simply select the line tool from your tools menu and from your menu bar choose to disable antialiasing. The icon is a blue line with three circles on it.