pub fn render_line(pts: &[Point<Num, 2>])