FastLED 3.10.8
Loading...
Searching...
No Matches

◆ setScreenMap() [2/3]

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

Definition at line 386 of file cled_controller.h.

386 {
387 // EngineEvents::onCanvasUiSet(this, map);
388 fl::ScreenMap screenmap = map.toScreenMap();
389 if (diameter <= 0.0f) {
390 screenmap.setDiameter(.15f); // Assume small matrix is being used.
391 }
393 return *this;
394 }
fl::ScreenMap screenmap
static void onCanvasUiSet(CLEDController *strip, const ScreenMap &xymap) FL_NO_EXCEPT
void setDiameter(float diameter) FL_NO_EXCEPT
MapRedBlackTree< Key, T, Compare, fl::allocator_slab< char > > map
Definition map.h:283

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

Referenced by setScreenMap().

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