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

◆ NewCatmullRomPath()

XYPathPtr fl::XYPath::NewCatmullRomPath ( uint16_t width = 0,
uint16_t height = 0,
const Ptr< CatmullRomParams > & params = NewPtr<CatmullRomParams>() )
static

Definition at line 229 of file xypath.cpp.

230 {
231 CatmullRomPathPtr path = CatmullRomPathPtr::New(params);
232 XYPathPtr out = XYPathPtr::New(path);
233 if (width > 0 && height > 0) {
234 out->setDrawBounds(width, height);
235 }
236 return out;
237}

References fl::Referent::Ptr.

Referenced by CreateXYPaths().

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