pub fn ruler( font: &Font, pen: Color, size: f64, p0: Point, p1: Point, left: bool, rot: bool, ticks: &[(f64, String)], ) -> Object