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