FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setScreenMap() [2/3]

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

Definition at line 402 of file cled_controller.h.

402 {
403 // EngineEvents::onCanvasUiSet(this, map);
404 fl::ScreenMap screenmap = map.toScreenMap();
405 if (diameter <= 0.0f) {
406 screenmap.setDiameter(.15f); // Assume small matrix is being used.
407 }
409 return *this;
410 }
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: