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
| 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 |