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

◆ NewCatmullRomPath()

XYPathPtr fl::XYPath::NewCatmullRomPath ( u16 width = 0,
u16 height = 0,
const fl::shared_ptr< CatmullRomParams > & params = fl::make_shared<CatmullRomParams>() )
static

Definition at line 230 of file xypath.cpp.

231 {
232 CatmullRomPathPtr path = fl::make_shared<CatmullRomPath>(params);
233 XYPathPtr out = fl::make_shared<XYPath>(path);
234 if (width > 0 && height > 0) {
235 out->setDrawBounds(width, height);
236 }
237 return out;
238}
shared_ptr< T > make_shared(Args &&... args)
Definition shared_ptr.h:348

References fl::make_shared().

Referenced by CreateXYPaths().

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