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 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}
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: