MCPcopy Create free account
hub / github.com/FastLED/FastLED / operator()

Method operator()

src/pixelset.h:149–149  ·  view source on GitHub ↗

Access an inclusive subset of the LEDs in this set. @note The start point can be greater than end, which will result in a reverse ordering for many functions (useful for mirroring). @param start the first element from this set for the new subset @param end the last element for the new subset

Source from the content-addressed store, hash-verified

147 /// @param start the first element from this set for the new subset
148 /// @param end the last element for the new subset
149 inline CPixelView operator()(int start, int end) { if(dir & 0x80) { return CPixelView(leds+len+1, -len-start-1, -len-end-1); } else { return CPixelView(leds, start, end); } }
150
151 // Access an inclusive subset of the LEDs in this set, starting from the first.
152 // @param end the last element for the new subset

Callers

nothing calls this directly

Calls 1

CPixelViewClass · 0.85

Tested by

no test coverage detected