Skip to main content

ink_level

Function ink_level 

Source
pub fn ink_level(alpha: u8, shade: u8) -> u8
Expand description

Ink level 0..=LEVELS from glyph alpha and cell shade (both 0-255).