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

◆ NewGielisCurvePath()

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

Definition at line 220 of file xypath.cpp.

221 {
222 GielisCurvePathPtr path = fl::make_shared<GielisCurvePath>(params);
223 XYPathPtr out = fl::make_shared<XYPath>(path);
224 if (width > 0 && height > 0) {
225 out->setDrawBounds(width, height);
226 }
227 return out;
228}
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: