FastLED 3.9.15
Loading...
Searching...
No Matches

◆ colordodge_fp()

FASTLED_FORCE_INLINE fl::i32 fl::colordodge_fp ( fl::i32 a,
fl::i32 b )

Definition at line 145 of file render_value_fp.h.

145 {
146 if (b >= 255) return 255;
147 fl::i32 result = (a * 255) / (255 - b);
148 return result > 255 ? 255 : result;
149}
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References FASTLED_FORCE_INLINE.

Referenced by fl::SpiralMatrix4_FP::draw().

+ Here is the caller graph for this function: