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

◆ NewPhyllotaxisPath()

XYPathPtr fl::XYPath::NewPhyllotaxisPath ( u16 width = 0,
u16 height = 0,
const fl::shared_ptr< PhyllotaxisParams > & args = fl::make_shared<PhyllotaxisParams>() )
static

Definition at line 211 of file xypath.cpp.hpp.

212 {
213 PhyllotaxisPathPtr path = fl::make_shared<PhyllotaxisPath>(args);
214 XYPathPtr out = fl::make_shared<XYPath>(path);
215 if (width > 0 && height > 0) {
216 out->setDrawBounds(width, height);
217 }
218 return out;
219}
u8 u8 height
Definition blur.h:186
u8 width
Definition blur.h:186
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414
corkscrew_args args
Definition old.h:149

References args, fl::height, fl::make_shared(), and fl::width.

Referenced by CreateXYPaths().

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