Hold down shift to snap a line to angles in multiples of 45 degrees.