FastLED 3.9.15
|
#include <slice.h>
Public Member Functions | |
MatrixSlice ()=default | |
MatrixSlice (const MatrixSlice &other)=default | |
MatrixSlice (T *data, i32 dataWidth, i32 dataHeight, i32 bottomLeftX, i32 bottomLeftY, i32 topRightX, i32 topRightY) | |
T & | at (i32 x, i32 y) |
const T & | at (i32 x, i32 y) const |
vec2< i32 > | getLocalCoord (i32 x_world, i32 y_world) const |
vec2< i32 > | getParentCoord (i32 x_local, i32 y_local) const |
T & | operator() (i32 x, i32 y) |
MatrixSlice & | operator= (const MatrixSlice &other)=default |
T * | operator[] (i32 row) |
Private Attributes | |
vec2< i32 > | mBottomLeft |
T * | mData = nullptr |
i32 | mDataHeight = 0 |
i32 | mDataWidth = 0 |
vec2< i32 > | mTopRight |