FastLED 3.10.6
Loading...
Searching...
No Matches

◆ at() [1/2]

template<typename T>
const T & fl::MatrixSlice< T >::at ( i32 x,
i32 y ) const
inline

Definition at line 649 of file span.h.

649 {
650 auto parent = getParentCoord(x, y);
651 return mData[parent.x + parent.y * mDataWidth];
652 }
vec2< i32 > getParentCoord(i32 x_local, i32 y_local) const FL_NO_EXCEPT
Definition span.h:623
i32 mDataWidth
Definition span.h:656

References fl::FL_NO_EXCEPT, getParentCoord(), mData, mDataWidth, fl::x, and fl::y.

+ Here is the call graph for this function: