pub type CursorDraw = Rc<dyn Fn(&mut Gfx<'_>, i32)>;
a cursor’s draw function: f(g, dpi) draws into the cursor surface
pub struct CursorDraw { /* private fields */ }