pub fn set_contrast_function( f: fn(fg: Color, bg: Color, fontsize: i32, ctx: i32) -> Color, )
Set the contrast function, for use in set_contrast_mode(ContrastMode::Custom)
set_contrast_mode(ContrastMode::Custom)