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

◆ at() [1/2]

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

Definition at line 142 of file canvas.h.

142{ return pixels[xymap->mapToIndex(x, y)]; }
const XYMap * xymap
Definition canvas.h:132
fl::span< RGB_T > pixels
Definition canvas.h:131
XYMap-backed canvas for non-rectangular or remapped layouts.
Definition canvas.h:130

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