FastLED 3.10.8
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::FL_NO_EXCEPT, pixels, width, fl::x, and fl::y.