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

◆ setScreenMap() [2/3]

CLEDController & fl::CLEDController::setScreenMap ( const fl::XYMap & map,
float diameter = -1.f )
inline

Definition at line 291 of file cled_controller.h.

291 {
292 // EngineEvents::onCanvasUiSet(this, map);
293 fl::ScreenMap screenmap = map.toScreenMap();
294 if (diameter <= 0.0f) {
295 screenmap.setDiameter(.15f); // Assume small matrix is being used.
296 }
298 return *this;
299 }
fl::ScreenMap screenmap
static void onCanvasUiSet(CLEDController *strip, const ScreenMap &xymap) FL_NOEXCEPT
void setDiameter(float diameter) FL_NOEXCEPT
MapRedBlackTree< Key, T, Compare, fl::allocator_slab< char > > map
Definition map.h:283

References CLEDController(), FL_NOEXCEPT, fl::EngineEvents::onCanvasUiSet(), and screenmap.

Referenced by setScreenMap().

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