You can draw a perfectly horizontal, vertical or diagonal line by holding down the Shift key while you draw the line. This works for the Straight Line tool only.