FastLED 3.10.8
Loading...
Searching...
No Matches

◆ nscale8() [1/3]

template<class PIXEL_TYPE>
CPixelView & CPixelView< PIXEL_TYPE >::nscale8 ( CPixelView< PIXEL_TYPE > & rhs)
inline

Scale every LED in this set by every led in the other set.

Definition at line 244 of file pixelset.h.

244{ for(iterator pixel = begin(), rhspixel = rhs.begin(), _end = end(), rhs_end = rhs.end(); (pixel != _end) && (rhspixel != rhs_end); ++pixel, ++rhspixel) { (*pixel).nscale8((*rhspixel)); } return *this; }
iterator end() FL_NO_EXCEPT
Makes an iterator instance for the end of the LED set.
Definition pixelset.h:482
iterator begin() FL_NO_EXCEPT
Makes an iterator instance for the start of the LED set.
Definition pixelset.h:481
pixelset_iterator_base< PIXEL_TYPE > iterator
Iterator helper type for this class.
Definition pixelset.h:478
Represents a view/window into a set of LED pixels, providing array-like access and rich color operati...
Definition pixelset.h:103