pub fn extents_to_pixels(
    inclusive: Option<&Rectangle>,
    nearest: Option<&Rectangle>
)