Function sw_composite::apply_spread

source ยท
pub(crate) fn apply_spread(x: i32, spread: Spread) -> i32
Expand description

maps x to 0..255 according to spread