Make drawing a line use a CLine