Definition at line 28 of file xmap.h.
|
enum | Type { kLinear = 0
, kReverse
, kFunction
, kLookUpTable
} |
|
◆ Type
◆ XMap() [1/2]
fl::XMap::XMap |
( |
uint16_t | length, |
|
|
bool | is_reverse = false, |
|
|
uint16_t | offset = 0 ) |
◆ XMap() [2/2]
fl::XMap::XMap |
( |
const XMap & | other | ) |
|
◆ constructWithLookUpTable()
XMap fl::XMap::constructWithLookUpTable |
( |
uint16_t | length, |
|
|
const uint16_t * | lookUpTable, |
|
|
uint16_t | offset = 0 ) |
|
static |
◆ constructWithUserFunction()
XMap fl::XMap::constructWithUserFunction |
( |
uint16_t | length, |
|
|
XFunction | xFunction, |
|
|
uint16_t | offset = 0 ) |
|
static |
◆ convertToLookUpTable()
void fl::XMap::convertToLookUpTable |
( |
| ) |
|
◆ getLength()
uint16_t fl::XMap::getLength |
( |
| ) |
const |
◆ getType()
XMap::Type fl::XMap::getType |
( |
| ) |
const |
◆ mapToIndex()
uint16_t fl::XMap::mapToIndex |
( |
uint16_t | x | ) |
const |
◆ operator()()
uint16_t fl::XMap::operator() |
( |
uint16_t | x | ) |
const |
|
inline |
◆ operator=()
XMap & fl::XMap::operator= |
( |
const XMap & | other | ) |
|
The documentation for this class was generated from the following files:
- /home/runner/work/FastLED/FastLED/src/fl/xmap.h
- /home/runner/work/FastLED/FastLED/src/fl/xmap.cpp