FastLED 3.9.15
Loading...
Searching...
No Matches

◆ constructWithUserFunction()

XYMap fl::XYMap::constructWithUserFunction ( u16 width,
u16 height,
XYFunction xyFunction,
u16 offset = 0 )
static

Definition at line 27 of file xymap.cpp.hpp.

28 {
30 out.xyFunction = xyFunction;
31 out.mOffset = offset;
32 return out;
33}
XYFunction xyFunction
Definition xymap.h:130
u16 width
Definition xymap.h:128
@ kFunction
Definition xymap.h:43
u16 height
Definition xymap.h:129
XYMap(u16 width, u16 height, bool is_serpentine=true, u16 offset=0) FL_NOEXCEPT
Definition xymap.cpp.hpp:80
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References XYMap(), height, kFunction, mOffset, offset(), width, and xyFunction.

Referenced by fl::gfx::blur2d().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: