Function blend_channel

Source
pub fn blend_channel(mode: BlendMode, s: f32, d: f32) -> f32
Expand description

Blend one channel: s = layer (source), d = canvas (destination), both 0..1. Returns 0..1.