pub fn context_get_resolution(context: &Context) -> f64