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

◆ at() [2/2]

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

Definition at line 82 of file canvas.h.

82{ 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.