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

218 {
219 CatmullRomPathPtr path = CatmullRomPathPtr::New(params);
220 XYPathPtr out = XYPathPtr::New(path);
221 if (width > 0 && height > 0) {
222 out->setDrawBounds(width, height);
223 }
224 return out;
225}

References fl::Referent::Ptr.

Referenced by CreateXYPaths().

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