FastLED 3.9.7
|
Definition at line 44 of file scale_up.h.
Public Member Functions | |
ScaleUp (XYMap xymap, Fx2dPtr fx) | |
void | draw (DrawContext context) override |
void | expand (const CRGB *input, CRGB *output, uint16_t width, uint16_t height, XYMap mXyMap) |
fl::Str | fxName () const override |
Public Member Functions inherited from fl::Fx2d | |
Fx2d (const XYMap &xyMap) | |
uint16_t | xyMap (uint16_t x, uint16_t y) const |
uint16_t | getHeight () const |
uint16_t | getWidth () const |
void | setXYMap (const XYMap &xyMap) |
XYMap & | getXYMap () |
const XYMap & | getXYMap () const |
Public Member Functions inherited from fl::Fx | |
Fx (uint16_t numLeds) | |
virtual bool | hasFixedFrameRate (float *fps) const |
virtual void | pause (uint32_t now) |
virtual void | resume (uint32_t now) |
uint16_t | getNumLeds () const |
Public Member Functions inherited from fl::Referent | |
virtual int | ref_count () const |
Additional Inherited Members | |
Public Types inherited from fl::Fx | |
using | DrawContext = _DrawContext |
Protected Member Functions inherited from fl::Referent | |
Referent (const Referent &) | |
Referent & | operator= (const Referent &) |
Referent (Referent &&) | |
Referent & | operator= (Referent &&) |
virtual void | ref () |
virtual void | unref () |
virtual void | destroy () |
Protected Attributes inherited from fl::Fx2d | |
XYMap | mXyMap |
Protected Attributes inherited from fl::Fx | |
uint16_t | mNumLeds |
fl::ScaleUp::ScaleUp | ( | XYMap | xymap, |
Fx2dPtr | fx ) |
Definition at line 36 of file scale_up.cpp.
|
overridevirtual |
now | The current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior. |
Implements fl::Fx.
Definition at line 43 of file scale_up.cpp.
void fl::ScaleUp::expand | ( | const CRGB * | input, |
CRGB * | output, | ||
uint16_t | width, | ||
uint16_t | height, | ||
XYMap | mXyMap ) |
Definition at line 63 of file scale_up.cpp.
|
inlineoverridevirtual |
Implements fl::Fx.
Definition at line 52 of file scale_up.h.