- Examples
- FxEngine.ino.
Definition at line 38 of file xymap.h.
|
enum | XyMapType { kSerpentine = 0
, kLineByLine
, kFunction
, kLookUpTable
} |
|
◆ XyMapType
enum fl::XYMap::XyMapType |
◆ XYMap()
fl::XYMap::XYMap |
( |
uint16_t | width, |
|
|
uint16_t | height, |
|
|
bool | is_serpentine = true, |
|
|
uint16_t | offset = 0 ) |
◆ constructRectangularGrid()
XYMap fl::XYMap::constructRectangularGrid |
( |
uint16_t | width, |
|
|
uint16_t | height, |
|
|
uint16_t | offset = 0 ) |
|
static |
◆ constructWithLookUpTable()
XYMap fl::XYMap::constructWithLookUpTable |
( |
uint16_t | width, |
|
|
uint16_t | height, |
|
|
const uint16_t * | lookUpTable, |
|
|
uint16_t | offset = 0 ) |
|
static |
◆ constructWithUserFunction()
XYMap fl::XYMap::constructWithUserFunction |
( |
uint16_t | width, |
|
|
uint16_t | height, |
|
|
XYFunction | xyFunction, |
|
|
uint16_t | offset = 0 ) |
|
static |
◆ convertToLookUpTable()
void fl::XYMap::convertToLookUpTable |
( |
| ) |
|
◆ getHeight()
uint16_t fl::XYMap::getHeight |
( |
| ) |
const |
◆ getTotal()
uint16_t fl::XYMap::getTotal |
( |
| ) |
const |
◆ getType()
XYMap::XyMapType fl::XYMap::getType |
( |
| ) |
const |
◆ getWidth()
uint16_t fl::XYMap::getWidth |
( |
| ) |
const |
◆ mapPixels()
void fl::XYMap::mapPixels |
( |
const CRGB * | input, |
|
|
CRGB * | output ) const |
◆ mapToIndex()
uint16_t fl::XYMap::mapToIndex |
( |
uint16_t | x, |
|
|
uint16_t | y ) const |
◆ operator()()
uint16_t fl::XYMap::operator() |
( |
uint16_t | x, |
|
|
uint16_t | y ) const |
|
inline |
◆ setRectangularGrid()
void fl::XYMap::setRectangularGrid |
( |
| ) |
|
◆ toScreenMap()
The documentation for this class was generated from the following files:
- /home/runner/work/FastLED/FastLED/src/fl/xymap.h
- /home/runner/work/FastLED/FastLED/src/fl/xymap.cpp