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

◆ at() [1/2]

template<typename RGB_T>
const RGB_T & fl::gfx::Canvas< RGB_T >::at ( int x,
int y ) const
inline

Definition at line 83 of file canvas.h.

83{ return pixels[y * width + x]; }
RGB_T * pixels
Definition canvas.h:72
Simple rectangular canvas for graphics operations Combines a pixel buffer with dimensions for cache-o...
Definition canvas.h:66

References FL_NOEXCEPT, pixels, width, fl::x, and fl::y.