pub fn paint_with( instance: &Instance, icons: Option<&Icons>, gradient: Option<&Gradient>, p: [f32; 2], ) -> Paint