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 210 of file xypath.cpp.

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

References args, and fl::make_shared().

Referenced by CreateXYPaths().

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