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

222 {
223 GielisCurvePathPtr path = fl::make_shared<GielisCurvePath>(params);
224 XYPathPtr out = fl::make_shared<XYPath>(path);
225 if (width > 0 && height > 0) {
226 out->setDrawBounds(width, height);
227 }
228 return out;
229}
u8 u8 height
Definition blur.h:186
u8 width
Definition blur.h:186
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414

References fl::height, fl::make_shared(), and fl::width.

Referenced by CreateXYPaths().

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