pub fn create_context(cr: &Context) -> Option<Context>