It is used for drawing lines and connecting points. Rulers come in two types according to the design of their edge. A ruler with a straight edge can be used with lead pencils and felt pens, whereas when a technical pen is used the edge must be grooved to prevent the spread of the ink.