adding DrawLine function to Renderer