Function set_contrast_function

Source
pub fn set_contrast_function(
    f: fn(fg: Color, bg: Color, fontsize: i32, ctx: i32) -> Color,
)
Expand description

Set the contrast function, for use in set_contrast_mode(ContrastMode::Custom)