MCPcopy Create free account
hub / github.com/FastLED/FastLED / drawGradient

Method drawGradient

src/fl/gfx/raster_sparse.cpp.hpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void XYRasterU8Sparse::drawGradient(const Gradient &gradient,
20 const XYMap &xymap, fl::span<CRGB> out) {
21 XYDrawGradient visitor(gradient, xymap, out);
22 draw(xymap, visitor);
23}
24
25void XYRasterU8Sparse::drawGradient(const Gradient &gradient, Leds *leds) {
26 drawGradient(gradient, leds->xymap(), leds->rgb());

Callers

nothing calls this directly

Calls 2

drawFunction · 0.85
rgbMethod · 0.45

Tested by

no test coverage detected