FastLED 3.10.8
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 201 of file xypath.cpp.hpp.

202 {
203 RosePathPtr path = fl::make_shared<RosePath>(params);
204 XYPathPtr out = fl::make_shared<XYPath>(path);
205 if (width > 0 && height > 0) {
206 out->setDrawBounds(width, height);
207 }
208 return out;
209}
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
Definition shared_ptr.h:423
u8 u8 height
Definition blur.h:186
u8 width
Definition blur.h:186

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

Referenced by CreateXYPaths().

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