FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ NewPhyllotaxisPath()

XYPathPtr fl::XYPath::NewPhyllotaxisPath ( uint16_t width = 0,
uint16_t height = 0,
const Ptr< PhyllotaxisParams > & args = NewPtr<PhyllotaxisParams>() )
static

Definition at line 209 of file xypath.cpp.

210 {
211 PhyllotaxisPathPtr path = PhyllotaxisPathPtr::New(args);
212 XYPathPtr out = XYPathPtr::New(path);
213 if (width > 0 && height > 0) {
214 out->setDrawBounds(width, height);
215 }
216 return out;
217}
corkscrew_args args
Definition old.h:142

References args, and fl::Referent::Ptr.

Referenced by CreateXYPaths().

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