[−][src]Function sdl2::gfx::imagefilter::mult_by_byte
pub fn mult_by_byte(src1: CVec<u8>, c: u8) -> Result<CVec<u8>, String>
Filter using MultByByte
: D = saturation255(S * C).
pub fn mult_by_byte(src1: CVec<u8>, c: u8) -> Result<CVec<u8>, String>
Filter using MultByByte
: D = saturation255(S * C).