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

◆ NewRosePath()

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

Definition at line 200 of file xypath.cpp.

201 {
202 RosePathPtr path = fl::make_shared<RosePath>(params);
203 XYPathPtr out = fl::make_shared<XYPath>(path);
204 if (width > 0 && height > 0) {
205 out->setDrawBounds(width, height);
206 }
207 return out;
208}
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: